Re: [PATCH 7/9] sys: Replace hardcoding of -20 and 19 with MIN_NICE and MAX_NICE.

2014-02-11 Thread Kees Cook
On Tue, Feb 11, 2014 at 7:59 PM, Dongsheng Yang wrote: > Hi Kees, > > > On 02/12/2014 02:27 AM, Kees Cook wrote: >> >> On Mon, Feb 10, 2014 at 11:34 PM, Dongsheng Yang >> wrote: >>> >>> Signed-off-by: Dongsheng Yang >>> cc: Andrew Morton >>> cc: Oleg Nesterov >>> cc: Robin Holt >>> cc: Al Vi

Re: [PATCH 7/9] sys: Replace hardcoding of -20 and 19 with MIN_NICE and MAX_NICE.

2014-02-11 Thread Dongsheng Yang
Hi Kees, On 02/12/2014 02:27 AM, Kees Cook wrote: On Mon, Feb 10, 2014 at 11:34 PM, Dongsheng Yang wrote: Signed-off-by: Dongsheng Yang cc: Andrew Morton cc: Oleg Nesterov cc: Robin Holt cc: Al Viro cc: Kees Cook cc: "Eric W. Biederman" cc: Stephen Rothwell cc: Peter Zijlstra cc: Ing

Re: [PATCH 7/9] sys: Replace hardcoding of -20 and 19 with MIN_NICE and MAX_NICE.

2014-02-11 Thread Kees Cook
On Mon, Feb 10, 2014 at 11:34 PM, Dongsheng Yang wrote: > Signed-off-by: Dongsheng Yang > cc: Andrew Morton > cc: Oleg Nesterov > cc: Robin Holt > cc: Al Viro > cc: Kees Cook > cc: "Eric W. Biederman" > cc: Stephen Rothwell > cc: Peter Zijlstra > cc: Ingo Molnar > --- > kernel/sys.c | 8

[PATCH 7/9] sys: Replace hardcoding of -20 and 19 with MIN_NICE and MAX_NICE.

2014-02-10 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: Andrew Morton cc: Oleg Nesterov cc: Robin Holt cc: Al Viro cc: Kees Cook cc: "Eric W. Biederman" cc: Stephen Rothwell cc: Peter Zijlstra cc: Ingo Molnar --- kernel/sys.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/s