mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 07:45:07 -05:00
Add mlockall and SCHED_FIFO support
The attached patch adds support for mlockall() as well as the SCHED_FIFO real-time scheduler. It should result in reduced (and more consistent) latency. Usage is documented in all the documents.
This commit is contained in:
committed by
Miroslav Lichvar
parent
cdc22df903
commit
35e662d810
@@ -39,4 +39,8 @@ extern void SYS_Linux_GetKernelVersion(int *major, int *minor, int *patchlevel);
|
||||
|
||||
extern void SYS_Linux_DropRoot(char *user);
|
||||
|
||||
extern void SYS_Linux_MemLockAll(int LockAll);
|
||||
|
||||
extern void SYS_linux_SetScheduler(int SchedPriority);
|
||||
|
||||
#endif /* GOT_SYS_LINUX_H */
|
||||
|
||||
Reference in New Issue
Block a user