[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /dev/recycle
Jamie Lokier <lk@tantalophile.demon.co.uk> writes:
> Christoph Rohland wrote:
> > > 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.
> >
> > It's not the same as posix shared mem.
>
> What's the difference?
1) /dev/{zero,recycle} shared mappings do only work between childs of
the same parent and the parent. Also they do not survive an exec.
2) You cannot unmap and remap the same area.
Greetings
Christoph
--
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/