Re: aio-core why not using SuS? [Re: [rfc] aio-core for 2.5.29 (Re: async-io API registration for 2.5.29)]

From: Linus Torvalds (
Date: Fri Aug 16 2002 - 23:00:52 EST

On Fri, 16 Aug 2002, Martin J. Bligh wrote:
> At least some of those you don't have to kmap ... at least not in
> the traditional sense. This sort of thing is a good application
> for the per-process (or per-task) kernel virtual address area.
> you just map in the stuff you need for your own task, instead
> of having to share the global space with everybody.


The VM space is shared _separately_ from other data structures, which
means that you can _not_ user per-VM virtual address areas and expect them
to scale with load. And than some VM happens to have thousands of threads,
and you're dead.

> Some things
> have to be global (well, easier at least) like the task_struct,
> but the kernel stacks could be moved out with a little work,
> files, vm_area_structs, etc.

Kernel stacks most certainly can't do this easily, since you'll just hit
the scalability problem somewhere else (ie many threads, same VM).

And files, for example, can not only be many files for one VM, you can
have the reverse too, ie many VM's, one file table.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:13 EST