Messages in this thread | | | Date | Mon, 19 Sep 2005 12:39:35 +0530 | From | Srivatsa Vaddagiri <> | Subject | Re: PATCH: Fix race in cpu_down (hotplug cpu) |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |