[PATCH 0/1] sched: make finish_task_switch() return struct rq *

From: Oleg Nesterov
Date: Thu Oct 09 2014 - 15:35:39 EST


speaking of minor cleanups...

Let me send another once before ->saved_preempt_count removal, it
looks simple and less subjective.

Again, this is just minor cleanup so please feel free to ignore, but
somehow to me this duplicated this_rq() (and the comment!) looks a
bit annoying. Plus it saves a few insns, but this is minor.

Depends on "sched: schedule_tail() should disable preemption".

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/