lkml.org 
[lkml]   [2000]   [Mar]   [1]   [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, William Montgomery wrote:

>Why won't it trigger?

We assume that the whole loop will take less than the tsk timeslice. If
that's not true by running "goto again" unconditionally we would deadlock.

If the loop will take less then the process timeslice, we know that after
the schedule returned, we'll return from free_inodes before need_resched
is set again to 1.

>[..] then does a signal() to a sleeping process [..] now the sleeping
> process is need_resched [..]

Sending a signal to "tsk" doesn't set "tsk->need_resched".

Andrea





-
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.667 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site