From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 25 May 2006 17:10:20 -0700 (PDT) From: Christoph Lameter Subject: Re: Add /proc/sys/vm/drop_node_caches In-Reply-To: <20060525170509.331aaf2d.akpm@osdl.org> Message-ID: References: <20060525170509.331aaf2d.akpm@osdl.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: linux-mm@kvack.org List-ID: On Thu, 25 May 2006, Andrew Morton wrote: > If we're talking about some formal, supported access to the kernel's NUMA > facilities then poking away at /proc doesn't seem a particularly good way > of doing it. The application _should_ be able to set its memory policy to > point at that node and get all the old caches evicted automatically. If > that doesn't work, what's wrong? zone_reclaim does exactly that for an application. So that case is covered. However, there are situations in which someone wants to insure that there is no pagecache on some nodes (testing and some special apps). Dropping the pagecache on nodes that are not used for that purpose would be bad. -- 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: email@kvack.org