Re: [PATCH] VM: add vm.free_node_memory sysctl
From: Andi Kleen <hidden>
Date: 2005-08-03 14:41:06
Also in:
lkml
On Wed, Aug 03, 2005 at 10:24:40AM -0400, Martin Hicks wrote:
On Wed, Aug 03, 2005 at 04:15:29PM +0200, Andi Kleen wrote:quoted
On Wed, Aug 03, 2005 at 09:56:46AM -0400, Martin Hicks wrote:quoted
Here's the promised sysctl to dump a node's pagecache. Please review! This patch depends on the zone reclaim atomic ops cleanup: http://marc.theaimsgroup.com/?l=linux-mm&m=112307646306476&w=2Doesn't numactl --bind=node memhog nodesize-someslack do the same? It just might kick in the oom killer if someslack is too small or someone has unfreeable data there. But then there should be already an sysctl to turn that one off.Doesn't the memhog hack also cause the machine to swap a lot? The
Hack? - compared to your "solutions" it looks very clean to me.
zone_reclaim() path doesn't let the memory reclaim code swap.
reclaim with bound policy should only swap on the bound nodemask (or at least it did when I originally implemented NUMA policy) -Andi -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>