Re: scalable kmap (was Re: vm lock contention reduction)

Andrew Morton
2002-07-07T06:37:44Z

"Martin J. Bligh" wrote:
>
> ...
> > I was discussing this with sct a few days back. iiuc, the proposal
> > was to create a small per-cpu pool (say, 4-8 pages) which is a
> > "front-end" to regular old kmap().
> >
> > Any time you have one of these pages in use, the process gets
> > pinned onto the current CPU.
>
> Ewww! That's gross ;-)

Hey. So is highmem ;)

But sys_sched_affinity() allows you to change the affinity of
other tasks (it takes a pid). So that's torn that idea.