[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFQmdRZ0ZKBV2oxq1Re==x96_rrg1u4WAh7WdGe+zvE3dzqo0A@mail.gmail.com>
Date: Wed, 9 Jul 2014 14:56:40 -0700
From: Havard Skinnemoen <hskinnemoen@...gle.com>
To: "Luck, Tony" <tony.luck@...el.com>
Cc: Borislav Petkov <bp@...en8.de>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Ewout van Bekkum <ewout@...gle.com>
Subject: Re: [PATCH 4/6] x86-mce: Add spinlocks to prevent duplicated MCP and
CMCI reports.
On Wed, Jul 9, 2014 at 1:47 PM, Luck, Tony <tony.luck@...el.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists