Re: Scheduler activations (IIRC) question

William Lee Irwin III
2003-08-18T00:22:36Z

On Sun, Aug 17, 2003 at 09:02:53PM +0100, Jamie Lokier wrote:
> Vectorizing doesn't help. In the example of 5 stat() calls, those
> calls could easily be due to 5 different service state machines, each
> responding to a different user request. There's no easy way to work
> out that they could have been submitted as a single vector.

Well, it's pretty much orthogonal to "making everything async", but it
does have the advantage of batching and hence reducing the number of
system call traps that need to be made to get a given amount of work
done. It's unfortunate there aren't more users of the vectored API's.

-- wli