]> err.no Git - linux-2.6/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)
commite18c6874a505958d153a11f9d6947971c349008a
tree809d61a9e36f9869d875542c9adce1952e202d4b
parentb0d41693217b3bb5b837940dc7465e82a9d49476
[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