Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

support important advice #48

Closed
wants to merge 2 commits into from
Closed

Conversation

awkay
Copy link

@awkay awkay commented Oct 7, 2023

The madvise system call is actually kind of important in more scenarios that you've covered, and the POSIX values are the same in OSX and linux (I checked .h files in both). The sequential advice, in particular, can have a dramatic effect on the overall VM system (without it you can accidentally kick a lot of stuff out of RAM that is important, unnecessarily).

I added a big docstring to the new method to explain.

The instructions for building didn't work for me...perhaps missing a call to gen the .h file? So, I wasn't able to build it to test, but the change is very small.

@mmorrisontx
Copy link
Member

Closing all pulls, as this repository is now archived.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants