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

From: Andrea Arcangeli (andrea@suse.de)
Date: Wed Mar 01 2000 - 14:51:10 EST


On Wed, 1 Mar 2000, William Montgomery wrote:

>Process B is SCHED_FIFO waiting via sigpause().
>Process A is SCHED_FIFO running and does signal() to Process B.
>Process A waits in sigpause().
>Process A run time in this case is very short, probably shorter that
>free_inode loop.

What has the above scenario to to do with free_inodes in first place?

>> >[..] 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".
>>
>if a SCHED_OTHER process sends a signal to a waiting SCHED_FIFO process
>shouldn't the SCHED_FIFO wakeup and run? What mechanism accomplishes
>this?

tsk->state + runqueue.

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