RE: [PATCH -tip] x86,trace: Add rcu_irq_enter/exit() insmp_trace_reschedule_interrupt()

From: Seiji Aguchi
Date: Fri Jun 28 2013 - 11:49:02 EST


> > +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
¢éì®&Þ~º&¶¬–+-±éÝ¥Šw®žË±Êâmébžìdz¹Þ)í…æèw*jg¬±¨¶‰šŽŠÝj/êäz¹ÞŠà2ŠÞ¨è­Ú&¢)ß«a¶Úþø®G«éh®æj:+v‰¨Šwè†Ù>Wš±êÞiÛaxPjØm¶Ÿÿà -»+ƒùdš_