Re: lowlatency-2.2.14-B1 + 2.2.14aa7 fixes crash, but...

From: William Montgomery (william@opinicus.com)
Date: Tue Feb 29 2000 - 17:50:26 EST


On Tue, 29 Feb 2000, Andrea Arcangeli wrote:

> On Tue, 29 Feb 2000, William Montgomery wrote:
>
> >Yes. Andrea has suggested that the reschedule should only be allowed once
> >during the free_inode loop.
>
> Don't worry about that. You'll never need to run it twice. My change is
> needed for correctness but it won't trigger in real life.
>
Why won't it trigger?

If a user process gets switched in by schedule() and the process
does computation for 50us then does a signal() to a sleeping process
then goes to sleep using sigpause(), now the sleeping process is
need_resched. Won't this cause the trigger?

Wm

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:23 EST