From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3D27E1B8.89C116F0@zip.com.au> Date: Sat, 06 Jul 2002 23:37:44 -0700 From: Andrew Morton MIME-Version: 1.0 Subject: Re: scalable kmap (was Re: vm lock contention reduction) References: <3D27AC81.FC72D08F@zip.com.au> <1048271645.1025997192@[10.10.2.3]> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: "Martin J. Bligh" Cc: Andrea Arcangeli , Linus Torvalds , Rik van Riel , "linux-mm@kvack.org" List-ID: "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. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/