lkml.org 
[lkml]   [2014]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NUMA node information for pages
On Mon, 31 Mar 2014, Naoya Horiguchi wrote:

> > I might be missing something but I couldn't find a way to use the
> > pagemap information to then look up the NUMA node the respective page is
> > located on. Especially when analyzing anomalities this is really
> > useful. The /proc/kpageflags and /proc/kpagecount files don't have that
> > information.
> >
> > If this is correct, could the attached patch be considered? It's really
> > simple and follows the same line as the kpageflags file.
>
> The information about "pfn-node" mapping seldom (or never) changes after boot,
> so it seems better to me that adding a new interface somewhere under
> /sys/devices/system/node/nodeN which shows pfn range of a given node.

If that's the direction we're going, I'd much prefer just the physical
start and end addresses be exported rather than pfn so we don't need to do
getpagesize() in userspace.


\
 
 \ /
  Last update: 2014-04-01 08:42    [W:0.077 / U:2.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site