Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2019 04:13:34 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        x11@freebsd.org
Subject:   Re: HEADS UP: memfd_create landed in head
Message-ID:  <d0fn-yfch-wny@FreeBSD.org>
In-Reply-To: <CACNAnaFwiXHtC3kA9T4qnDq1dbr4WbOOUC_rS7UsNjt-m9C-uw@mail.gmail.com> (Kyle Evans's message of "Wed, 25 Sep 2019 20:19:51 -0500")
References:  <CACNAnaFwiXHtC3kA9T4qnDq1dbr4WbOOUC_rS7UsNjt-m9C-uw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kyle Evans <kevans@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d0fn-yfch-wny>