set_rtlimit problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

set_rtlimit problem

Lee Revell

I just noticed that the sys_get_priority_max and _min syscalls do not
take the RT priority rlimit into account.  Since the watchdog thread
runs at the -P setting + 10 then if the rlimit is 50 and the user
specifies -P50 the watchdog thread will fail.

I believe sched_get_priority_max(SCHED_FIFO) needs to take the rlimit
into account - there's no other way to get the upper limit AFAICT.


This email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
Jackit-devel mailing list
[hidden email]