lkml.org 
[lkml]   [2008]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/3] ftrace: use struct pid

    On Thu, 4 Dec 2008, Dave Hansen wrote:
    > >
    > > We probably should. Historically read_lock(&tasklist_lock) implies
    > > rcu_read_lock(). And the tasklist lock is what we hold when it is
    > > safe.
    >
    > So, Dipankar tells me that you really do need rcu_read_lock/unlock() for
    > the guarantee here; the tasklist lock is not sufficient. The realtime
    > kernel will preempt even those sections covered by spinlocks.

    Yes it will.

    -- Steve



    \
     
     \ /
      Last update: 2008-12-04 16:47    [W:0.027 / U:65.656 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site