diff options
author | Ian Ray <ian.ray@ge.com> | 2016-05-25 10:41:53 +0300 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-11-01 14:00:04 -0400 |
commit | 4cfee398726adf89db4b632ade7d6cab8b78282e (patch) | |
tree | 63248aa6ca9e0aeb845f9179490b71a6c558d65f /include/dixstruct.h | |
parent | 512e75a23b7f6339593c3ae6942f0c420a975fd3 (diff) |
xwayland-shm: block signals during fallocate
posix_fallocate() does an explicit rollback if it gets EINTR, and
this is a problem on slow systems because when the allocation size
is sufficiently large posix_fallocate() will always be interrupted
by the smart scheduler's SIGALRM.
Changes since v1 - big comment in the code to explain what is going on
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Ian Ray <ian.ray@ge.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Acked-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'include/dixstruct.h')
0 files changed, 0 insertions, 0 deletions