lkml.org 
[lkml]   [2014]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3 V2] sched: Collect the bits about priority into a new header file, include/linux/sched/prio.h.
Date
Hi Peter,
This patchset is version 2 about priority of sched. Please help to review.

Sorry for the late update about it, coming back from vacation.

v2:
* leave the task_prio() in kernel/sched/core.c
* remove macro TASK_NICE and implement it as static inline
function in include/linux/sched.h.
* remove #ifndef when include prio.h.

Dongsheng Yang (3):
sched: Move the priority specific bits into a new header file.
sched: Expose some macros related with priority.
sched: Implement task_nice as static inline function.

include/linux/sched.h | 12 +++++++++++-
include/linux/sched/prio.h | 40 ++++++++++++++++++++++++++++++++++++++++
include/linux/sched/rt.h | 19 +------------------
kernel/sched/core.c | 26 +++++++-------------------
kernel/sched/cputime.c | 4 ++--
kernel/sched/sched.h | 18 ------------------
6 files changed, 61 insertions(+), 58 deletions(-)
create mode 100644 include/linux/sched/prio.h

--
1.8.2.1



\
 
 \ /
  Last update: 2014-02-10 10:41    [W:0.031 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site