[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070612002747.GJ3723@sequoia.sous-sol.org>
Date: Mon, 11 Jun 2007 17:27:47 -0700
From: Chris Wright <chrisw@...s-sol.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>, Andrew Morton <akpm@...l.org>,
Greg KH <greg@...ah.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Andi Kleen <ak@...e.de>, Ralf Baechle <ralf@...ux-mips.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Ingo Molnar <mingo@...e.hu>, Stable Team <stable@...nel.org>,
Richard Henderson <rth@...ddle.net>
Subject: Re: [stable] [PATCH] INPUT: Sanitize PIT locking in pcspkr
* Thomas Gleixner (tglx@...utronix.de) wrote:
> The PC-speaker code has a quite creative method to serialize access to
> the PIT: It uses a local lock.
>
> On i386 and x86_64 the access to the PIT is serialized by a lock in the
> architecture code. The separate locking in the PC-speaker code ignores
> the global lock and creates a nasty race between the PC-speaker and the
> PIT clock source / events code on SMP machines.
>
> Use the global i8253_lock instead of the local i8253_beep_lock, when
> compiled for i386/x86_64.
Seems this one got lost?
thanks,
-chris
-
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