Re: Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() at boot time

From: Dave Hansen (haveblue@us.ibm.com)
Date: Thu Apr 04 2002 - 14:41:46 EST


Robert Love wrote:
> tsk->exit_code = code;
> exit_notify();
> + preempt_enable_no_resched();
       * PREEMPT HERE *
> schedule();
> BUG();

Isn't there still a race here? A preempt CAN happen after you reenable,
right? Admittedly, its a small window, but it _is_ a window.

-- 
Dave Hansen
haveblue@us.ibm.com

- 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/



This archive was generated by hypermail 2b29 : Sun Apr 07 2002 - 22:00:14 EST