mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-20 05:34:35 -04:00
shm: Disallow shrinking shm pools
Unused shm space will be automatically reclaimed if unused or can be explicitly returned by using fallocate FALLOC_FL_PUNCH_HOLE. https://bugs.freedesktop.org/show_bug.cgi?id=74632
This commit is contained in:
parent
c1aa1291a1
commit
24cdbe3d69
2 changed files with 10 additions and 3 deletions
|
|
@ -246,7 +246,8 @@
|
|||
<description summary="change the size of the pool mapping">
|
||||
This request will cause the server to remap the backing memory
|
||||
for the pool from the file descriptor passed when the pool was
|
||||
created, but using the new size.
|
||||
created, but using the new size. This request can only be
|
||||
used to make the pool bigger.
|
||||
</description>
|
||||
|
||||
<arg name="size" type="int"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue