diff options
author | KAMEZAWA Hiroyuki <[email protected]> | 2009-02-11 13:04:29 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-02-11 14:25:35 -0800 |
commit | 2e9c23724328ae4e56c42a35a717a956d7d3001d (patch) | |
tree | e96657542d354cef4d50020b48ab565053810d5d /net/lapb/lapb_subr.c | |
parent | d4097456cd1d9285e876fc5d08a789462804cc28 (diff) |
memcg: use __GFP_NOWARN in page cgroup allocation
page_cgroup's page allocation at init/memory hotplug uses kmalloc() and
vmalloc(). If kmalloc() failes, vmalloc() is used.
This is because vmalloc() is very limited resource on 32bit systems.
We want to use kmalloc() first.
But in this kind of call, __GFP_NOWARN should be specified.
Reported-by: Heiko Carstens <[email protected]>
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Balbir Singh <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions