gecko-dev/ipc
Andrew Osmond d933968108 Bug 1582954 - Use posix_fallocate if available to avoid lazy allocation for shared memory. r=jld
WebRender makes extensive use of shared memory buffers, particularly for
images decoded in the content process. These images can be arbitrarily
large, and there being insufficient memory for an allocation must be
handled gracefully.

On Linux, we will currently crash with a SIGBUS signal during image
decoding instead of just displaying the broken image tag. This is
because the pages backing the shared memory are only allocated when we
write to them. This blocks shipping WebRender on Linux.

This patch uses posix_fallocate to force the reservation of the pages,
and allows failing gracefully if they are unavailable.

Differential Revision: https://phabricator.services.mozilla.com/D80650
2020-07-20 17:47:52 +00:00
..
app Bug 1634765: Drop support for (and prevent from running on) macOS versions below 10.12. r=haik 2020-06-11 19:28:25 +00:00
chromium Bug 1582954 - Use posix_fallocate if available to avoid lazy allocation for shared memory. r=jld 2020-07-20 17:47:52 +00:00
contentproc Bug 1574421 - Don't recurse in ipc/contentproc. r=froydnj 2019-08-16 13:11:46 +00:00
glue Bug 1653587 - Fix "Genreate" typo. DONOTBUILD r=jld 2020-07-20 16:52:29 +00:00
gtest Bug 1652081 - Verify that newly allocated shared memory is zeroed. r=mccr8 2020-07-10 22:08:07 +00:00
ipdl Backed out changeset 3229e30f7721 (bug 1649573) as requested by froydnj. CLOSED TREE 2020-07-13 17:18:41 +03:00
mscom Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
testshell Bug 1636990 - Inline NS_NewBackstagePass. r=kmag 2020-05-11 22:46:24 +00:00
moz.build Bug 1574421 - Don't recurse in ipc/contentproc. r=froydnj 2019-08-16 13:11:46 +00:00
pull-chromium.py