On 03/11/2014 04:36 PM, Heiko Carstens wrote:
On Tue, Mar 11, 2014 at 04:20:24PM +0800, Dongsheng Yang wrote:
On 03/11/2014 04:17 PM, Heiko Carstens wrote:
On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote:
+#define NICE_TO_RLIMIT(nice) (MAX_NICE - nice + 1)
Where is MAX_NICE d
On Tue, Mar 11, 2014 at 04:20:24PM +0800, Dongsheng Yang wrote:
> On 03/11/2014 04:17 PM, Heiko Carstens wrote:
> >On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote:
> >>+#define NICE_TO_RLIMIT(nice) (MAX_NICE - nice + 1)
> >Where is MAX_NICE defined? The s390 patch fails to comp
On 03/11/2014 04:17 PM, Heiko Carstens wrote:
On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote:
This patch add a macro named NICE_TO_RLIMIT in prio.h to
convert nice value [19,-20] to rlimit style value [1,40].
Signed-off-by: Dongsheng Yang
---
include/linux/sched/prio.h | 5 ++
On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote:
> This patch add a macro named NICE_TO_RLIMIT in prio.h to
> convert nice value [19,-20] to rlimit style value [1,40].
>
> Signed-off-by: Dongsheng Yang
> ---
> include/linux/sched/prio.h | 5 +
> 1 file changed, 5 insertions(+)
This patch add a macro named NICE_TO_RLIMIT in prio.h to
convert nice value [19,-20] to rlimit style value [1,40].
Signed-off-by: Dongsheng Yang
---
include/linux/sched/prio.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/linux/sched/prio.h b/include/linux/sched/prio.h
index a
5 matches
Mail list logo