diff options
| author | Ka Ho Ng <khng@FreeBSD.org> | 2021-08-12 15:01:02 +0000 |
|---|---|---|
| committer | Ka Ho Ng <khng@FreeBSD.org> | 2021-08-12 15:04:18 +0000 |
| commit | 454bc887f250ce0bceaabd0ec624d077269d3220 (patch) | |
| tree | 0f485c524f79b35918269e89a2d7f59d46374112 /sys/modules | |
| parent | a638dc4ebc8eaa90a87ee053b7104ee4511f4491 (diff) | |
uipc_shm: Implements fspacectl(2) support
This implements fspacectl(2) support on shared memory objects. The
semantic of SPACECTL_DEALLOC is equivalent to clearing the backing
store and free the pages within the affected range. If the call
succeeds, subsequent reads on the affected range return all zero.
tests/sys/posixshm/posixshm_tests.c is expanded to include a
fspacectl(2) functional test.
Sponsored by: The FreeBSD Foundation
Reviewed by: kevans, kib
Differential Revision: https://reviews.freebsd.org/D31490
Diffstat (limited to 'sys/modules')
0 files changed, 0 insertions, 0 deletions
