]> Git Repo - linux.git/commit
memcgroup: use vmalloc for mem_cgroup allocation
authorKAMEZAWA Hiroyuki <[email protected]>
Tue, 29 Apr 2008 08:00:24 +0000 (01:00 -0700)
committerLinus Torvalds <[email protected]>
Tue, 29 Apr 2008 15:06:11 +0000 (08:06 -0700)
commit33327948782bcef89c78eb47af86b6a2df9fd4a5
treec1045eaee1b63a6be37a09c969e2433a5c595c33
parent4a56d02e34baedbea5eb1fd558f2b856b8c7db1e
memcgroup: use vmalloc for mem_cgroup allocation

On ia64, this kmalloc() requires order-4 pages.  But this is not necessary to
be physically contiguous.  For big mem_cgroup, vmalloc is better.  For small
ones, kmalloc is used.

[[email protected]: simplification]
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: Balbir Singh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c
This page took 0.053756 seconds and 4 git commands to generate.