Message ID | 52D7FA85.9020504@linaro.org |
---|---|
State | New |
Headers | show |
On 01/16/2014 04:48 PM, Peter Zijlstra wrote: > 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. Ah, ok. Thanks for the clarification.
diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 141baa3..acabef1 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h @@ -15,7 +15,7 @@ #include <uapi/asm/unistd.h> dlezcano@mai:~/Work/src/cpuidle-next (sched/idle-balance)$ git diff diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 93a2836..673edff 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3295,10 +3295,6 @@ recheck: