lkml.org 
[lkml]   [2010]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [1/7,v8] NUMA Hotplug Emulator: documentation
On Wed, Dec 08, 2010 at 01:16:10PM -0800, David Rientjes wrote:
> On Wed, 8 Dec 2010, Eric B Munson wrote:
>
> > Shaohui,
> >
> > I was able to online a cpu to node 0 successfully. My problem was that I did
> > not take the cpu offline before I released it. Everything looks to be working
> > for me.
> >
>
> I think it should fail more gracefully than triggering WARN_ON()s because
> of duplicate sysfs dentries though, right?

Yes, we should do more checking on the return value, the duplicate dentries can
be avoided.

Another solution: force user to offline the cpu before we do cpu release.

--
Thanks & Regards,
Shaohui



\
 
 \ /
  Last update: 2010-12-09 02:51    [from the cache]
©2003-2011 Jasper Spaans