From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200507150452.j6F4q9g10274@unix-os.sc.intel.com> From: "Chen, Kenneth W" Subject: RE: [NUMA] Display and modify the memory policy of a process through /proc//numa_policy Date: Thu, 14 Jul 2005 21:52:09 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Sender: owner-linux-mm@kvack.org Return-Path: To: 'Christoph Lameter' , linux-mm@kvack.org Cc: linux-ia64@vger.kernel.org, pj@sgi.com List-ID: Christoph Lameter wrote on Thursday, July 14, 2005 6:40 PM > This patch adds a new proc entry for each process called "numa_policy". > > If read this file will output a text string describing the memory policy > for the process. > A new policy may be written to "numa_policy" in order to change the memory > policy for the process. The following strings may be written to > /proc//numa_policy: > > Additionally the patch also adds write capability to the "numa_maps". One > can write a VMA address followed by the policy to that file to change the > mempolicy of an individual virtual memory area. i.e. This looks a lot like a back door access to libnuma and numactl capability. Are you sure libnuma and numactl won't suite your needs? -- 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: aart@kvack.org