Messages in this thread | | | Date | Thu, 9 Oct 2014 21:32:07 +0200 | From | Oleg Nesterov <> | Subject | [PATCH 0/1] sched: make finish_task_switch() return struct rq * |
| |
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.
| |