]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: Account mem_map in VM holes accounting
authorAndi Kleen <ak@suse.de>
Sat, 5 Nov 2005 16:25:53 +0000 (17:25 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 15 Nov 2005 03:55:13 +0000 (19:55 -0800)
commite2a8978533c54a73cc75939290f44e129f515b47
tree809d61a9e36f9869d875542c9adce1952e202d4b
parent03fc5d8d400c47401da572de773eaeb4a8a77c88
[PATCH] x86_64: Account mem_map in VM holes accounting

The VM needs to know about lost memory in zones to accurately
balance dirty pages. This patch accounts mem_map in there too,
which fixes a constant errror of a few percent. Also some
other misc mappings and the kernel text itself are accounted
too.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/init.c