[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1004161058020.7710@router.home>
Date: Fri, 16 Apr 2010 11:00:29 -0500 (CDT)
From: Christoph Lameter <cl@...ux-foundation.org>
To: Andreas Herrmann <herrmann.der.user@...glemail.com>
cc: Lee Schermerhorn <Lee.Schermerhorn@...com>,
Andi Kleen <andi@...stfloor.org>, Ingo Molnar <mingo@...e.hu>,
Greg Kroah-Hartman <gregkh@...e.de>,
linux-kernel@...r.kernel.org
Subject: Re: 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists