]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] vmscan: no zone_reclaim if PF_MALLOC is set
authorChristoph Lameter <clameter@sgi.com>
Fri, 10 Mar 2006 01:33:47 +0000 (17:33 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 10 Mar 2006 03:47:37 +0000 (19:47 -0800)
commit520305cee4aea6217ee51d59df47ceb36e35ae23
treebed2341cbb2e4bf71d29f2e8b6ab7affa72aabd5
parentf6168404cf35a21b447a2874974ca92c153dc14f
[PATCH] vmscan: no zone_reclaim if PF_MALLOC is set

If the process has already set PF_MALLOC and is already using
current->reclaim_state then do not try to reclaim memory from the zone.
This is set by kswapd and/or synchrononous global reclaim which will not
take it lightly if we zap the reclaim_state.

Signed-off-by: Christoph Lameter <clameter@sig.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/vmscan.c