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

Re: Shared mmaps



On Sun, Mar 04, 2001 at 10:10:53PM +0100, Matthew Wilcox wrote:
> Sparc & IA64 use a flag in the task_struct to indicate that they're trying
> to allocate an mmap which is shared.  That's really ugly, let's just pass
> the flags in to the get_mapped_area function instead.  I had to invent a
> new flag for this because mremap's flags are different to mmap's (bah!)
> 
> Comments?

With some extensions I would also find it useful for x86-64 for the 32bit
mmap emulation (currently it's using a current-> hack)
For that flags would need to be passed to TASK_UNMAPPED_BASE.


-Andi

--
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.eu.org/Linux-MM/