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

From: Andrea Arcangeli (andrea@suse.de)
Date: Wed Mar 01 2000 - 12:23:40 EST


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/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:10 EST