lkml.org 
[lkml]   [2010]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: useless node/has_cpu sysfs attribute
On Fri, 16 Apr 2010, Andreas Herrmann wrote:

> Why don't we try to call node_clear_state(node, N_CPU)
> anywhere? (Maybe there is such a call and I missed it.)

There is none since it would require a scan of all processors to see if a
certain node is still used. Seems that this was not implemented.

> Do we want to list each node with this attribute that has a CPU
> regardless whether the CPU is actually offline or online?

Nope.

> That is the reason why I wanted to know who is relying on this
> attribute and what are the use cases of it.

Obviously not many right now since the breakage went unnoticed. There is
certainly going to be more usage with the high end processors requiring
NUMA. Would be glad if you could clear up the situation, fix breakage and
implement missing functionality.



\
 
 \ /
  Last update: 2010-04-16 18:03    [W:0.028 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site