On Tue, 12 Sep 2000, Andrea Arcangeli wrote:> On Tue, 12 Sep 2000, Chris Evans wrote:> > >like the task scheduler policies we have. For example, maybe we could flag> >a given process so that all it's I/O requests go to the head of the queue.> > Yes. We can't do that at the moment because at the elevator> layer we don't know who is waiting for I/O completion.

As an approximation, you could take the task that queues therequest. Only kswapd, kflushd and kupdate would be the "falsealarms" here ... and we don't care all that much about themsince they're only writing anyway.