Messages in this thread | | | Date | Wed, 1 Mar 2000 18:23:40 +0100 (CET) | From | Andrea Arcangeli <> | Subject | Re: 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/
| |