Re: [5/7, v9] NUMA Hotplug Emulator: Support cpu probe/release in x86_64

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Shaohui Zheng
Date: Wednesday, December 22, 2010 - 7:24 pm

On Wed, Dec 22, 2010 at 07:21:18PM -0800, Andrew Morton wrote:


I understand, I will add comments for both arch_cpu_probe/arch_cpu_release.


it is a tricky thing. When I debug it under a Virtual Machine, If I do a cpu
probe via sysfs cpu/probe interface, The function arch_cpu_probe will be called
__three__ times, but only one call is valid, so I add a check on `count` to
ignore the invalid calls.



It is a good lesson for me, when I meet the similar problem next time, I should
consider more from the point of the user.

-- 
Thanks & Regards,
Shaohui

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[0/7, v9] NUMA Hotplug Emulator (v9), shaohui.zheng, (Fri Dec 10, 12:31 am)
[1/7, v9] NUMA Hotplug Emulator: Documentation, shaohui.zheng, (Fri Dec 10, 12:31 am)
[2/7, v9] NUMA Hotplug Emulator: Add numa=possible option, shaohui.zheng, (Fri Dec 10, 12:31 am)
Re: [5/7, v9] NUMA Hotplug Emulator: Support cpu probe/rel ..., Shaohui Zheng, (Wed Dec 22, 7:24 pm)
[patch] mm: add node hotplug emulation, David Rientjes, (Tue Dec 28, 12:34 am)