Re: [RFC 3/5] x86, trigger NMI return notifier soft_irq earlier

Peter Zijlstra
2010-06-24T06:03:34Z

On Thu, 2010-06-24 at 11:04 +0800, Huang Ying wrote:
> soft_irq is used to run NMI return notifiers. But it may be quite long
> from soft_irq is raised in NMI handler to soft_irq is run actually. To
> solve the issue, a self interrupt IPI is used to trigger the soft_irq
> earlier.

This all is just gross hackery,..

wth is wrong with doing what I proposed earlier and use a work_struct
like callback mechanism?