* [PATCH] uninline task_rq_lock()
@ 2006-06-23 3:17 Oleg Nesterov
0 siblings, 0 replies; only message in thread
From: Oleg Nesterov @ 2006-06-23 3:17 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Andrew Morton, linux-kernel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-22 23:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-23 3:17 [PATCH] uninline task_rq_lock() Oleg Nesterov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox