Re: Asynch I/O broken in 2.2.15

From: Jeff V. Merkey (jmerkey@timpanogas.com)
Date: Thu Apr 13 2000 - 14:55:35 EST


Steve Dodd wrote:
>
>
> > It does poll there.
>
> Err.. Can you explain why you think this? The only way I can see that
> wait_on_buffer could exhibit "polling" behaviour is if it was woken up before
> the I/O was complete, and I can't see anything doing that.
>
>

schedule() acts like threadswitch() in NetWare. Try you go to sleep,
but the scheduler will wake you up again. I noticed it seems to behave
this way. This means this guy is constantly waking up and calling
run_task_queue() over and over again.

I will look at the buffer head locked bit.

Jeff

-
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 : Sat Apr 15 2000 - 21:00:22 EST