>>> On Tue, Jul 15, 2008 at 7:43 AM, in message
<1216122229-4865-1-git-send-email-maxk@qualcomm.com>, Max Krasnyansky
<maxk@qualcomm.com> wrote:
Hi Max,
Its still early in the morning, and I havent had my coffee yet, so what I am about to
say may be totally bogus ;)
..but, I am not sure we need to do this mask here. If the hotcpu_notifiier is still
running (and it appears that it is) the runqueue that is taken offline will be removed
from cpupri as well.
Or perhaps I am misunderstanding the intention of "active" verses "online". If I
understand correctly, active and online mean more or less the same thing, but
splitting it out like this allows us to skip rebuilding the domains on every hotplug.
Is that correct?
Assuming that the above is true, and assuming that the hotcpu_notifier is
still invoked when the online status changes, cpupri will be properly updated
to exclude the offline core. That will save an extra cpus_and (which the big-iron
guys will be happy about ;)
Regards,
-Greg
--