lkml.org 
[lkml]   [2000]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: lowlatency-2.2.14-B1 + 2.2.14aa7 fixes crash, but...

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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.801 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site