Can madvise(addr, size, MADV_DONTNEED) cause segfaults?
Is madvise(*, *, MADV_DONTNEED)
supposed to be purely advisory? I tried scanning /proc/self/maps
and calling madvise(addr, size, MADV_DONTNEED)
on them. This causes a segmentation fault.
Is madvise(*, *, MADV_DONTNEED)
supposed to be purely advisory? I tried scanning /proc/self/maps
and calling madvise(addr, size, MADV_DONTNEED)
on them. This causes a segmentation fault.