On Thu, Jan 16, 2014 at 04:28:05PM +0100, Daniel Lezcano wrote:On 01/16/2014 03:25 PM, Peter Zijlstra wrote:On Thu, Jan 16, 2014 at 03:20:20PM +0100, Daniel Lezcano wrote:Already tested. The last commits do not change the issue described above.
Bummer, ok, what version of Ubuntu/rsyslogd are you using? I have a
laptop around that should have some recent ubuntu on it, let me go find
it.
Removing the lines below fix the issue.
These changes were introduced by the commit
d50dde5a10f305253cbc3855307f608f8a3c5f73.
I don't get the connection between what is supposed to do the patch as
described in the commit log and these four lines added.
The interface adds:
sched_attr::sched_nice
And extends __sched_setscheduler() to also set nice values as provided
by the sched_attr, therefore we must check to see if we've got
permission to change the nice value.