Messages in this thread | | | Date | Tue, 29 Sep 2015 17:29:51 +0200 | From | Peter Zijlstra <> | Subject | Re: [RFC][PATCH 05/11] sched: Add preempt argument to __schedule() |
| |
On Tue, Sep 29, 2015 at 11:30:26AM -0400, Steven Rostedt wrote: > On Tue, 29 Sep 2015 11:28:39 -0400 > Steven Rostedt <rostedt@goodmis.org> wrote: > > > On Tue, 29 Sep 2015 11:28:30 +0200 > > Peter Zijlstra <peterz@infradead.org> wrote: > > > > > There is only a single PREEMPT_ACTIVE use in the regular __schedule() > > > path and that is to circumvent the task->state check. Since the code > > > setting PREEMPT_ACTIVE is the immediate caller of __schedule() we can > > > replace this with a function argument. > > > > > > Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> > > > --- > > > > Reviewed-by: Steven Rostedt <rostedt@goodmis.org> > > I just want to note that this scared me at first, because __schedule() > can be traced by the function tracer that can also do a
See 11/11 :-)
| |