Messages in this thread | | | Date | Wed, 9 Jul 2014 14:56:40 -0700 | Subject | Re: [PATCH 4/6] x86-mce: Add spinlocks to prevent duplicated MCP and CMCI reports. | From | Havard Skinnemoen <> |
| |
On Wed, Jul 9, 2014 at 1:47 PM, Luck, Tony <tony.luck@intel.com> wrote: > if (!(flags & MCP_UC) && > - (m.status & (mca_cfg.ser ? MCI_STATUS_S : MCI_STATUS_UC))) > + (m.status & (mca_cfg.ser ? MCI_STATUS_S : MCI_STATUS_UC))) { > + spin_unlock_irqrestore(&mce_banks[i].poll_spinlock, > + irq_flags); > continue; > + } > > Perhaps move this test for UC up to before you grab the lock?
Will do, thanks.
Havard
| |