QEMU just ignores MADV_DONTNEED
https://github.com/qemu/qemu/blob/b1cffefa1b163bce9aebc3416f562c1d3886eeaa/linux-user/syscall.c#L11941
Depends on D100998.
Differential D101031
[scudo] Check if MADV_DONTNEED zeroes memory vitalybuka on Apr 22 2021, 2:03 AM. Authored by
Details
QEMU just ignores MADV_DONTNEED Depends on D100998.
Diff Detail
Event Timeline
Comment Actions Have you reported this bug to QEMU? Unfortunately the comment you linked to is inaccurate about madvise being a hint on Linux [1]. Comment Actions I agree that this does not match strange but documented behavior. |
getPageSizeCached() maybe