All of lore.kernel.org
 help / color / mirror / Atom feed
* /proc/pid/numa_maps no longer shows "default" policy
@ 2014-01-30  6:34 Anton Blanchard
  2014-01-30  9:08 ` Mel Gorman
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Blanchard @ 2014-01-30  6:34 UTC (permalink / raw)
  To: mgorman; +Cc: linux-mm


Hi Mel,

We recently noticed that /proc/pid/numa_maps used to show default
policy mappings as such:

cat /proc/self/numa_maps 
00100000 default mapped=1 mapmax=339 active=0 N0=1

But now it shows them as prefer:X:

cat /proc/self/numa_maps
10000000 prefer:1 file=/usr/bin/cat mapped=1 N0=1

It looks like this was caused by 5606e387 (mm: numa: Migrate on
reference policy). I'm not sure if this is expected, but we don't have
CONFIG_NUMA_BALANCING enabled on ppc64 so I wasn't expecting processes
to have a particular node affinity by default.

Anton

--
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: /proc/pid/numa_maps no longer shows "default" policy
  2014-01-30  6:34 /proc/pid/numa_maps no longer shows "default" policy Anton Blanchard
@ 2014-01-30  9:08 ` Mel Gorman
  0 siblings, 0 replies; 2+ messages in thread
From: Mel Gorman @ 2014-01-30  9:08 UTC (permalink / raw)
  To: Anton Blanchard; +Cc: linux-mm

On Thu, Jan 30, 2014 at 05:34:57PM +1100, Anton Blanchard wrote:
> 
> Hi Mel,
> 
> We recently noticed that /proc/pid/numa_maps used to show default
> policy mappings as such:
> 
> cat /proc/self/numa_maps 
> 00100000 default mapped=1 mapmax=339 active=0 N0=1
> 
> But now it shows them as prefer:X:
> 
> cat /proc/self/numa_maps
> 10000000 prefer:1 file=/usr/bin/cat mapped=1 N0=1
> 
> It looks like this was caused by 5606e387 (mm: numa: Migrate on
> reference policy). I'm not sure if this is expected, but we don't have
> CONFIG_NUMA_BALANCING enabled on ppc64 so I wasn't expecting processes
> to have a particular node affinity by default.
> 

https://lkml.org/lkml/2014/1/25/182

-- 
Mel Gorman
SUSE Labs

--
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-30  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-30  6:34 /proc/pid/numa_maps no longer shows "default" policy Anton Blanchard
2014-01-30  9:08 ` Mel Gorman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.