summaryrefslogtreecommitdiffstats
path: root/mm/nommu.c
diff options
context:
space:
mode:
authorHideo AOKI2006-04-11 07:53:00 +0200
committerLinus Torvalds2006-04-11 15:18:32 +0200
commit6d9f78396583244258080f3369889644c06c37c8 (patch)
tree645f5e8630bc57e3a8f5653dc941fc0232b5e98b /mm/nommu.c
parent[PATCH] overcommit: add calculate_totalreserve_pages() (diff)
downloadkernel-qcow2-linux-6d9f78396583244258080f3369889644c06c37c8.tar.gz
kernel-qcow2-linux-6d9f78396583244258080f3369889644c06c37c8.tar.xz
kernel-qcow2-linux-6d9f78396583244258080f3369889644c06c37c8.zip
[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 <haoki@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/nommu.c')
0 files changed, 0 insertions, 0 deletions