linux/arch/x86_64
Andi Kleen 485761bd6a [PATCH] x86_64: Tell VM about holes in nodes
Some nodes can have large holes on x86-64.

This fixes problems with the VM allowing too many dirty pages because it
overestimates the number of available RAM in a node.  In extreme cases you
can end up with all RAM filled with dirty pages which can lead to deadlocks
and other nasty behaviour.

This patch just tells the VM about the known holes from e820.  Reserved
(like the kernel text or mem_map) is still not taken into account, but that
should be only a few percent error now.

Small detail is that the flat setup uses the NUMA free_area_init_node() now
too because it offers more flexibility.

(akpm: lotsa thanks to Martin for working this problem out)

Cc: Martin Bligh <mbligh@mbligh.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-26 19:37:12 -07:00
..
boot [PATCH] x86_64: coding style and whitespace fixups 2005-06-25 16:25:02 -07:00
crypto [PATCH] x86_64: add MODULE_ALIAS for aes 2005-08-08 15:29:13 -07:00
ia32 [PATCH] x86_64: fix 32-bit thread debugging 2005-08-04 16:28:27 -07:00
kernel [PATCH] x86_64: Tell VM about holes in nodes 2005-08-26 19:37:12 -07:00
lib [PATCH] x86_64: fix bug in csum_partial_copy_generic() 2005-07-30 10:14:47 -07:00
mm [PATCH] x86_64: Tell VM about holes in nodes 2005-08-26 19:37:12 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci [PATCH] x86_64: Don't oops at boot when empty Opteron node has IO 2005-08-23 19:59:39 -07:00
defconfig [PATCH] x86_64: update defconfig - reenable fusion 2005-08-24 10:22:44 -07:00
Kconfig [PATCH] x86_64: Improve CONFIG_GART_IOMMU description and make it default y 2005-07-28 21:45:59 -07:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] x86_64: Remove IA32_* build tools in Makefile 2005-07-28 21:46:00 -07:00