[PATCH 0/3 for-tip] use task_nice() in tracing to git rid of an open coded impolementation of it.

From: Dongsheng Yang
Date: Wed Mar 12 2014 - 06:32:39 EST


Hi Steven,
The [1/3] in this thread is a copy of

1390430505-17234-1-git-send-email-yangds.fnst@xxxxxxxxxxxxxxx

At that time, you said you will take this patch if task_nice()
is implemeted as a inline function. Now it is done, I wish you can give
it an ack. If you have a time, please take a look at the other patches
in this thread. Thank you.

Dongsheng Yang (3):
tracing: Use inline task_nice() to get rid of an open coded
implementation of it.
sched/prio: Replace hardcoding of 40 with NICE_WIDTH.
sched: Use clamp() and clamp_val() to make it more readable.

kernel/sched/core.c | 11 ++---------
kernel/trace/trace.c | 2 +-
2 files changed, 3 insertions(+), 10 deletions(-)

--
1.8.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/