Messages in this thread Patch in this message | | | Date | Fri, 23 Jun 2006 07:17:45 +0400 | From | Oleg Nesterov <> | Subject | [PATCH] uninline task_rq_lock() |
| |
Saves 543 bytes from sched.o (gcc 3.3.3).
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
--- 2.6.17-rc6/kernel/sched.c~LOCK 2006-06-23 06:46:57.000000000 +0400 +++ 2.6.17-rc6/kernel/sched.c 2006-06-23 07:03:06.000000000 +0400 @@ -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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |