Am 24.05.24 um 10:18 schrieb Christoph Hellwig:
+#ifdef MADV_SOFT_OFFLINECan you add a comment here that this is missing on mips as of Linux 6.9?
Sure.
Also adding the mips maintainer so he can add it, as missing a madvise random feature on a random architecture looks like a bug that should be fixed.
There are more of this class of bugs which f82b77462b ("tools include: Add mman macros needed by perf for all arch") presents.