lkml.org 
[lkml]   [2010]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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.


    \
     
     \ /
      Last update: 2010-10-19 22:41    [W:4.431 / U:0.168 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site