mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
mm-swap_cgroup-allocate-swap_cgroup-map-using-vcalloc-fix
s/vfree/kvfree/, per Shakeel Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@kernel.org> Cc: Roman Gushchin <roman.gushchin@linux.dev> Cc: Shakeel Butt <shakeel.butt@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
78bb8cc7a4
commit
0625a5f1bc
@ -158,5 +158,5 @@ void swap_cgroup_swapoff(int type)
|
||||
ctrl->map = NULL;
|
||||
mutex_unlock(&swap_cgroup_mutex);
|
||||
|
||||
kvfree(map);
|
||||
vfree(map);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user