musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2019年12月22日 10:26:20 +0000
committerRich Felker <dalias@aerifal.cx>2019年12月30日 18:14:08 -0500
commitd95ead261e25282192e2291411740b94c2c76db3 (patch)
treedb13b3cd9db568f2c641863efaf3fa2db9852b64 /src
parentfa765ca54f1b5417df2ef54039ad580938a6c549 (diff)
downloadmusl-d95ead261e25282192e2291411740b94c2c76db3.tar.gz
sys/mman.h: add MADV_COLD and MADV_PAGEOUT from linux v5.4
These were mainly introduced so android can optimize the memory usage of unused apps. MADV_COLD hints that the memory range is currently not needed (unlike with MADV_FREE the content is not garbage, it needs to be swapped): linux commit 9c276cc65a58faf98be8e56962745ec99ab87636 mm: introduce MADV_COLD MADV_PAGEOUT hints that the memory range is not needed for a long time so it can be reclaimed immediately independently of memory pressure (unlike with MADV_DONTNEED the content is not garbage): linux commit 1a4e58cce84ee88129d5d49c064bd2852b481357 mm: introduce MADV_PAGEOUT
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月08日 12:36:20 +0000

AltStyle によって変換されたページ (->オリジナル) /