Hello, posix_fadvise(2) tells me that when using POSIX_FADV_DONTNEED, "Requests to discard partial pages are ignored. If the application requires that data be considered for discarding, then offset and len must be page-aligned.". How does this interact with huge pages? Is it sufficient to align with getpagesize()? Or do offset and len need to be aligned with huge page offsets when the region is backed by a huge page? In the latter case, is there a way for userspace to ensure this? Best, -Nikolaus -- GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F »Time flies like an arrow, fruit flies like a Banana.«