Re: PATCH: Fix race in cpu_down (hotplug cpu)

From: Srivatsa Vaddagiri
Date: Mon Sep 19 2005 - 02:10:40 EST


On Mon, Sep 19, 2005 at 04:31:36PM +1000, Nigel Cunningham wrote:
> > - } while (!need_resched());
> > + } while (!need_resched() || !cpu_is_offline(cpu));
>
> Shouldn't this be !need_resched() && !cpu_is_offline(cpu)?

Yes!


--


Thanks and Regards,
Srivatsa Vaddagiri,
Linux Technology Center,
IBM Software Labs,
Bangalore, INDIA - 560017
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/