From: Hideo AOKI Date: Tue, 11 Apr 2006 05:53:00 +0000 (-0700) Subject: [PATCH] overcommit: use totalreserve_pages X-Git-Tag: v2.6.17-rc2~262 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d9f78396583244258080f3369889644c06c37c8;p=pandora-kernel.git [PATCH] overcommit: use totalreserve_pages This patch is an enhancement of OVERCOMMIT_GUESS algorithm in __vm_enough_memory() in mm/mmap.c. When the OVERCOMMIT_GUESS algorithm calculates the number of free pages, the algorithm subtracts the number of reserved pages from the result nr_free_pages(). Signed-off-by: Hideo Aoki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed