[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1010192237220.6879@pobox.suse.cz>
Date: Tue, 19 Oct 2010 22:38:13 +0200 (CEST)
From: Jiri Kosina <jkosina@...e.cz>
To: Greg KH <greg@...ah.com>
Cc: Oliver Neukum <oliver@...kum.org>, Jan Kara <jack@...e.cz>,
Anders Larsen <al@...rsen.net>,
dri-devel@...ts.freedesktop.org,
ksummit-2010-discuss@...ts.linux-foundation.org,
Mikulas Patocka <mikulas@...ax.karlin.mff.cuni.cz>,
codalist@...emann.coda.cs.cmu.edu,
Bryan Schumaker <bjschuma@...app.com>,
Christoph Hellwig <hch@...radead.org>,
Petr Vandrovec <vandrove@...cvut.cz>,
Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
Ingo Molnar <mingo@...e.hu>, linux-media@...r.kernel.org,
Samuel Ortiz <samuel@...tiz.org>,
Evgeniy Dushistov <dushistov@...l.ru>,
Arnd Bergmann <arnd@...db.de>, autofs@...ux.kernel.org,
Jan Harkes <jaharkes@...cmu.edu>, Valdis.Kletnieks@...edu,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org,
Andrew Hendry <andrew.hendry@...il.com>
Subject: Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do
On Tue, 19 Oct 2010, Greg KH wrote:
> > > > So no need to clean it up for multiprocessor support.
> > > >
> > > > http://download.intel.com/design/chipsets/datashts/29067602.pdf
> > > > http://www.intel.com/design/chipsets/specupdt/29069403.pdf
> > >
> > > Great, we can just drop all calls to lock_kernel() and the like in the
> > > driver and be done with it, right?
> >
> > No,
> >
> > you still need to switch off preemption.
>
> Hm, how would you do that from within a driver?
preempt_disable()
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists