[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shared mmaps
On Mon, Mar 05, 2001 at 11:52:19AM +0100, Andi Kleen wrote:
> 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.
Don't you simply check current->personality to determine whether or not
this is a 32-bit task?
get_unmapped_area is already (optionally) an arch-specific function, so
you can make all the changes you need to that function.
--
Revolutions do not require corporate support.
--
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/