[issue40786] madvise should be accessible outside of mmap instance

2020-05-26 Thread Enji Cooper
Change by Enji Cooper : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue40786] madvise should be accessible outside of mmap instance

2020-05-26 Thread Enji Cooper
New submission from Enji Cooper : madvise can be used when manipulating mmap'ed pages, but it can also be used when protecting processes and other things. Having madvise be available in mmap as a function would be helpful instead of having to jump through a lot of hoops to run `MADV_PROTECT`