[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hugepage patches
"Martin J. Bligh" <mbligh@aracnet.com> writes:
> > Did I misunderstand what was meant by a massively shared mapping?
> >
> > I can't imagine it being useful to guys like oracle without MAP_SHARED
> > support....
>
> Create a huge shmem segment. and don't share the pagetables. Without large
> pages, it's an enormous waste of space in mindless duplication. With large
> pages, it's a much smaller waste of space (no PTEs) in mindless
> duplication.
> Still not optimal, but makes the problem manageable.
And this is exactly the mmap(MAP_SHARED) case. Where a single memory
segment is shared between multiple mm's.
Eric
--
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/