[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bkpatch] do_mmap cleanup



On Mon, Mar 11, 2002 at 12:08:18PM +0000, Pavel Machek wrote:
> Hi!
> 
> > Below is a vm cleanup that can be pulled from bk://bcrlbits.bk.net/vm-2.5 .
> > The bulk of the patch is moving the down/up_write on mmap_sem into do_mmap 
> > and removing that from all the callers.  The patch also includes a fix for 
> > do_mmap which caused mapping of the last page in the address space to fail.
> 
> Was not that a workaround for CPU bugs?

Not as far as I recall.  In fact it is just leading to more and more 
duplicated code as every arch writes their own version of the function 
to allow mapping that last page.  (Cleaning up all the sys_mmap calls 
is next.)

		-ben
--
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/