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

Martin J. Bligh
2002-08-17T03:45:53Z

>> > A 4G/4G split flushes the TLB on every syscall.
>>
>> This is just not going to happen. It will have to continue being a 3/1G
>> split, and we'll just either find a way to move stuff to highmem and
>> shrink the "struct page", or we'll just say "screw those 16GB+ machines on
>> x86".
>
> I wish life were that simple. Unfortunately, struct page isn't the only
> problem with these abominations: the system can run out of kvm for
> vm_area_struct, task_struct, files... Personally, I *never* want to see
> those data structures being kmap()'d as it would hurt kernel code quality
> whereas a 4G/4G split is well confined, albeit sickening.

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. 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.

That sounds more appealing to me than either kmap or a 4G/4G split.

M.