uninline task_rq_lock()
PATCH 1/1 uninline task_rq_lock()
Saves 543 bytes from sched.o (gcc 3.3.3).
Signed-off-by Oleg Nesterov <[email protected]>
kernel/sched.c renamed from kernel/sched.c~LOCK +1 -1
@@ -355,7 +355,7 @@ static inline void finish_lock_switch(ru* interrupts. Note the ordering: we can safely lookup the task_rq without * explicitly disabling preemption. */ -static inline runqueue_t *task_rq_lock (task_t *p,unsigned long *flags) +static runqueue_t *task_rq_lock (task_t *p,unsigned long *flags) __acquires(rq->lock) {struct runqueue *rq;