lkml.org 
[lkml]   [2005]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] VM: add vm.free_node_memory sysctl

On Wed, Aug 03, 2005 at 04:15:29PM +0200, Andi Kleen wrote:
> On Wed, Aug 03, 2005 at 09:56:46AM -0400, Martin Hicks wrote:
> >
> > 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=2
>
> Doesn'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
zone_reclaim() path doesn't let the memory reclaim code swap.

mh

--
Martin Hicks || Silicon Graphics Inc. || mort@sgi.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-03 16:32    [W:0.045 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site