Currently there is no way to hint the kernel to avoid triggering
page reclaims. This is useful in networked file systems,
which can deadlock in the synchronous reclaim path and to reduce
jitter when streaming which can be induced by a synchronouse reclaim.
To aid the userspace add interface to man
Add basic tests to verify memory allocation flags operations
via prctl(...).
https://jira.sw.ru/browse/PSBM-141577
Signed-off-by: Alexander Atanasov
---
tools/testing/selftests/prctl/Makefile| 5 +-
tools/testing/selftests/prctl/memflags-test.c | 96 +++
2 files changed,