This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: madvise should be accessible outside of mmap instance
Type: Stage:
Components: Library (Lib) Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ngie
Priority: normal Keywords:

Created on 2020-05-26 22:30 by ngie, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg370036 - (view) Author: Enji Cooper (ngie) * Date: 2020-05-26 22:30
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` on a process.
History
Date User Action Args
2022-04-11 14:59:31adminsetgithub: 84963
2020-05-26 22:31:15ngiesetcomponents: + Library (Lib)
2020-05-26 22:30:35ngiecreate