#ifndef LOCKME_H #define LOCKME_H #include #include "die.h" static inline void xlockme(void) { if (mlockall(MCL_CURRENT | MCL_FUTURE) != 0) panic("Cannot lock pages!\n"); } static inline void xunlockme(void) { munlockall(); } #endif /* LOCKME_H */ ://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/tools/perf/Documentation/perf-lock.txt?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines