On Tue, Apr 12, 2005 at 10:11:50AM +0100, David Howells wrote:
> Paul E. McKenney <[EMAIL PROTECTED]> wrote:
>
> > > spin_lock_irqsave(&tsk->sighand->siglock, flags);
> > > - old = tsk->signal->session_keyring;
> > > - tsk->signal->session_keyring = keyring;
> > > + old = rcu_dereference(tsk->si
Paul E. McKenney <[EMAIL PROTECTED]> wrote:
> > spin_lock_irqsave(&tsk->sighand->siglock, flags);
> > - old = tsk->signal->session_keyring;
> > - tsk->signal->session_keyring = keyring;
> > + old = rcu_dereference(tsk->signal->session_keyring);
>
> I don't understand why rcu_dereference
On Wed, Mar 23, 2005 at 08:55:46PM +, David Howells wrote:
>
> The attached patch uses RCU to manage the session keyring pointer in struct
> signal_struct. This means that searching need not disable interrupts and get a
> the sighand spinlock to access this pointer. Furthermore, by judicious u
Andrew Morton <[EMAIL PROTECTED]> wrote:
> David Howells <[EMAIL PROTECTED]> wrote:
> >
> > The attached patch uses RCU to manage the session keyring pointer in struct
> > signal_struct.
>
> So are these patches dependent upon the
> keys-use-rcu-to-manage-session-keyring-pointer work?
This pat
David Howells <[EMAIL PROTECTED]> wrote:
>
> The attached patch uses RCU to manage the session keyring pointer in struct
> signal_struct.
So are these patches dependent upon the
keys-use-rcu-to-manage-session-keyring-pointer work?
-
To unsubscribe from this list: send the line "unsubscribe linux-
The attached patch uses RCU to manage the session keyring pointer in struct
signal_struct. This means that searching need not disable interrupts and get a
the sighand spinlock to access this pointer. Furthermore, by judicious use of
rcu_read_(un)lock(), this patch also avoids the need to take and
The attached patch uses RCU to manage the session keyring pointer in struct
signal_struct. This means that searching need not disable interrupts and get a
the sighand spinlock to access this pointer. Furthermore, by judicious use of
rcu_read_(un)lock(), this patch also avoids the need to take and
7 matches
Mail list logo