HEADS UP: memfd_create landed in head

Jan Beich jbeich at FreeBSD.org
Thu Sep 26 02:13:43 UTC 2019


Kyle Evans <kevans at freebsd.org> writes:

> Hi,
>
> Just a heads up- memfd_create(3) landed in head today
> (__FreeBSD_version 1300048); at least graphics/mesa-dri has relevant
> patches, and I seem to recall others. My test builds didn't seem to
> raise any problems, and the patches are all to !HAVE_MEMFD_CREATE
> blocks. autoconf should be doing the right thing here and picking up
> that it exists now.

Nice! Firefox 70 dropped SHM_ANON to open the same segment as O_RDONLY
memfd_create would help restoring the optimization.

https://bugzilla.mozilla.org/show_bug.cgi?id=1550891
https://searchfox.org/mozilla-central/rev/f43ae7e1c43a/ipc/chromium/src/base/shared_memory_posix.cc#224-238


More information about the freebsd-x11 mailing list