[lkml]   [2013]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 3/6] mm: Use raw_cpu ops for determining current NUMA node
On Wed, 16 Oct 2013, Peter Zijlstra wrote:

> NAK; smp_processor_id() has the preemption checks; for consistently
> numa_node_id() should have them too, for the very same reason. Who's to
> say the node id is still valid when you return from this function? If
> we're preemptable we could've just been migrated away to another node.
> So please introduce raw_numa_node_id() and use that; all fully analogous
> to smp_processor_id().

The code that was here before the use of this_cpu ops did use

 \ /
  Last update: 2013-10-16 17:21    [W:0.033 / U:2.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site