Skip to contentSkip to conversation

uninline task_rq_lock()

PATCH New Oleg Nesterov 1 participant 1 message Jun 22, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uninline task_rq_lock()

Saves 543 bytes from sched.o (gcc 3.3.3).

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;