summaryrefslogtreecommitdiffstats
path: root/mm/oom_kill.c
diff options
context:
space:
mode:
authorBalbir Singh <balbir@linux.vnet.ibm.com>2008-02-07 09:14:05 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 17:42:19 +0100
commit35c754d79f4da80d5e8972f6403dd26f7962fd88 (patch)
tree5e497fd0ac832b5c832044d0267170d7144e1a0e /mm/oom_kill.c
parentmemcgroup: reinstate swapoff mod (diff)
downloadlinux-35c754d79f4da80d5e8972f6403dd26f7962fd88.tar.xz
linux-35c754d79f4da80d5e8972f6403dd26f7962fd88.zip
memory controller BUG_ON()
Move mem_controller_cache_charge() above radix_tree_preload(). radix_tree_preload() disables preemption, even though the gfp_mask passed contains __GFP_WAIT, we cannot really do __GFP_WAIT allocations, thus we hit a BUG_ON() in kmem_cache_alloc(). This patch moves mem_controller_cache_charge() to above radix_tree_preload() for cache charging. Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions