[PATCH] mm: make shrink_all_memory try harder
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 22 Mar 2006 08:09:04 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:05 +0000 (07:54 -0800)
commit248a0301e703cbf781aa02a91bcfc6da75870dd7
tree74168da24983ec948fb25f92c2b3a1b9d76a5f13
parentd5d4b0aa4e1430d73050babba999365593bdb9d2
[PATCH] mm: make shrink_all_memory try harder

Make shrink_all_memory() repeat the attempts to free more memory if there
seems to be no pages to free.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/vmscan.c