From: Hideo AOKI Date: Tue, 11 Apr 2006 05:53:01 +0000 (-0700) Subject: [PATCH] overcommit: use totalreserve_pages for nommu X-Git-Tag: v2.6.17-rc2~261 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5ddc79bcaab6975e7671805c3578407dc33b764;p=pandora-kernel.git [PATCH] overcommit: use totalreserve_pages for nommu This patch is an enhancement of OVERCOMMIT_GUESS algorithm in __vm_enough_memory() in mm/nommu.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