Hello, Oleg.
On 03/09/2010 04:01 AM, Oleg Nesterov wrote:
cpuhog itself doesn't care whether the cpus go on or offline and
ensuring cpus stay online is the caller's responsibility. The return
value check is mostly added for hog_one_cpu() users which is much more
light weight than hog_cpus() and thus is much more likely to be used
w/o disabling cpu hotplugging. For hog_cpus(), I wanted it not to
care about cpu onliness itself. Requests will be executed for online
ones while ignored for others, so the only exceptional one is the case
where none gets executed.
Thanks.
--
tejun
--