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

Re: /dev/recycle



Christoph Rohland wrote:
> > MAP_RECYCLE|MAP_ANON initially allocates pages like MAP_ANON.  Mapping
> > /dev/recycle is similar (but subtly different).
> 
> This would only work for /dev/zero like mappings. I need it for shm
> mappings.

Open /dev/recycle several times and map it shared -- it's the same as
anonymous shared mappings.  The owner of pages is considered to be the
filehandle itself in that case.

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