On 21 Jan 2014, at 07:32, Niels Grewe <[email protected]> wrote:
> > Am 20.01.2014 um 18:29 schrieb David Chisnall <[email protected]>: > >> will now use the anonymous shared memory regions on FreeBSD > > Just a note about this: It is possible that we can do something similar on > Linux in the future, since the Linux kernel may be gaining an interface > called ‘memfd’ for memory backed file descriptors, which is apparently > required for their kdbus stuff. I’ve briefly glanced over the code, and if I > read that correctly, it's just anonymous shared memory regions with an > additional interface allowing you to ‘seal’ them (i.e. mark them as > read-only). No idea why this couldn’t be done as part of the traditional > POSIX shm API, but I will keep an eye on it just in case it proves useful. Android also adds anonymous shared memory regions (with yet another API) to Linux. I'm more interested in using that, as Android is one place where we really don't want to be using the current code path. David -- Sent from my Cray X1 _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
