https://github.com/vi/libmlockall
Lock all pages in memory for a process tree
https://github.com/vi/libmlockall
Last synced: about 1 year ago
JSON representation
Lock all pages in memory for a process tree
- Host: GitHub
- URL: https://github.com/vi/libmlockall
- Owner: vi
- Created: 2010-12-09T18:44:19.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-01-03T16:03:34.000Z (over 15 years ago)
- Last Synced: 2025-04-15T14:14:16.821Z (about 1 year ago)
- Language: C
- Homepage:
- Size: 87.9 KB
- Stars: 8
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Little library that just calls mlockall at initialisation
Indented as ad-hoc real-time utility.
Usage: LD_PRELOAD=/path/to/libmlockall.so your_program
Example: LD_PRELOAD=/usr/lib/libmlockall.so schedtool -R -p 4 -e mplayer -cache 300000 /tmp/dd.mp3
/usr/bin/mlockall utility automatically sets up LD_PRELOAD.
Author page: http://vi-server.org/