Messages in this thread | | | Date | Thu, 9 Dec 2010 08:23:02 +0800 | From | Shaohui Zheng <> | Subject | Re: [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
| |