lkml.org 
[lkml]   [2013]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH -tip] x86,trace: Add rcu_irq_enter/exit() in smp_trace_reschedule_interrupt()
Date
> > +void smp_trace_reschedule_interrupt(struct pt_regs *regs)
> > +{
>
> Sure, but we should probably add a comment here to why
> smp_trace_reschedule_interrupt() is different than
> smp_reschedule_interrupt().
>
> /*
> * Need to call irq_enter() before calling the trace point.
> * __smp_reschedule_interrupt() calls irq_enter/exit() too (in
> * scheduler_ipi(). This is OK, since those functions are allowed
> * to nest.
> */
>
> -- Steve

I will add the comment.

Thanks.

Seiji
\
 
 \ /
  Last update: 2013-06-28 20:01    [W:0.051 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site