User: Password:
Subscribe / Log in / New account

Persistent memory

Persistent memory

Posted Mar 31, 2014 19:14 UTC (Mon) by luto (subscriber, #39314)
In reply to: Persistent memory by dontstayhome
Parent article: Persistent memory

The kernel seems to stick them all right next to each other if I don't explicitly add a PROT_NONE region in the way. And, since MAP_FIXED overwrites things, I can't just guess a desired address and try it with MAP_FIXED, since I'll crash if I guess badly.

The upshot is that the an improved MAP_FIXED flag would actually improve my use case a bit.

Maybe we should have MAP_WANT_GUARD_PAGES, too.

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds