aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-08-02 11:41:40 -0400
committerIngo Molnar <mingo@elte.hu>2007-08-02 11:41:40 -0400
commit4e6f96f313561d86d248edf0eaff2336d8217e1b (patch)
tree2006963cab793e8f6ff529e7c18085982de3e0d9 /kernel
parentcb1c4fc924d7eeb3fb723ad72705d4a70e9781fd (diff)
[PATCH] sched: uninline inc/dec_nr_running()
uninline inc_nr_running() and dec_nr_running(): text data bss dec hex filename 29039 4162 24 33225 81c9 sched.o.before 29027 4162 24 33213 81bd sched.o.after Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index ff4aa17d65c8..7bed2c58b986 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -782,13 +782,13 @@ dec_load(struct rq *rq, const struct task_struct *p, u64 now)
782 update_load_sub(&rq->ls.load, p->se.load.weight); 782 update_load_sub(&rq->ls.load, p->se.load.weight);
783} 783}
784 784
785static inline void inc_nr_running(struct task_struct *p, struct rq *rq, u64 now) 785static void inc_nr_running(struct task_struct *p, struct rq *rq, u64 now)
786{ 786{
787 rq->nr_running++; 787 rq->nr_running++;
788 inc_load(rq, p, now); 788 inc_load(rq, p, now);
789} 789}
790 790
791static inline void dec_nr_running(struct task_struct *p, struct rq *rq, u64 now) 791static void dec_nr_running(struct task_struct *p, struct rq *rq, u64 now)
792{ 792{
793 rq->nr_running--; 793 rq->nr_running--;
794 dec_load(rq, p, now); 794 dec_load(rq, p, now);