2 Commits
Author SHA1 Message Date
Michal BiesekandRich Felker 19f9aeaaba sys/mman.h: add MADV_COLLAPSE from linux v6.1
Add madvise flag which performs a best-effort synchronous
collapse of the native pages mapped by the memory range
into Transparent Huge Pages (THPs)
see
  linux commit 7d8faaf155454f8798ec56404faca29a82689c77
  mm/madvise: introduce MADV_COLLAPSE sync hugepage collapse
2026-03-19 09:57:30 -04:00
Michal BiesekandRich Felker bb5693fa5e sys/mman.h: add MADV_POPULATE_(READ|WRITE) from linux v5.14
Add madvise flags to populate(prefault) page tables
see
  linux commit 4ca9b3859dac14bbef0c27d00667bb5b10917adb
  mm/madvise: introduce MADV_POPULATE_(READ|WRITE) to prefault page tables
2026-03-15 16:23:20 -04:00