[PATCH] D116366: [Support] Add MemoryBuffer::dontNeedIfMmap
Zibi Sarbino via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 31 06:02:39 PST 2021
zibi added inline comments.
================
Comment at: llvm/lib/Support/Unix/Path.inc:876
+ if (Mapping)
+ ::madvise(Mapping, Size, MADV_DONTNEED);
+}
----------------
Unfortunately this change broke [[ https://lab.llvm.org/staging/#/builders/202/builds/111/steps/4/logs/stdio | AIX build ]] since `MADV_DONTNEED` is not available. Is there any other OS without `MADV_DONTNEED`? Can this be reverted until we find alternative?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116366/new/
https://reviews.llvm.org/D116366
More information about the llvm-commits
mailing list