On Wed, Apr 12, 2017 at 11:12:21PM +0200, Thomas Gleixner wrote: > There is another solution: > > Convert the notifier to a blocking notifier and in the panic case, ignore > the locking and invoke the notifier chain directly. That needs some minimal > surgery in the notifier code to allow that, but that's certainly less ugly > than splitting stuff up into two chains.
But I wonder whether we actually want two chains. We've been adding a bunch of general run-time logging and recovery stuff to this chain. So now we have things there that aren't needed or useful in the panic case. E.g. srao_decode_notifier() (which tries to offline a page that reported an uncorrected error out of the execution path) and Boris's new CEC code. -Tony