Re: [PATCH 2/2] CRED: Fix __task_cred()'s lockdep check and banner comment

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Thursday, August 5, 2010 - 1:26 pm

On Thu, Aug 5, 2010 at 1:13 PM, Eric W. Biederman <ebiederm@xmission.com> wrote:

Hmm. Have you taken a look at Nick Piggin's VFS scalability patches?
They introduce this "RCU-safe hash chain lock", where each hashchain
has a lock-bit in the low bit. I wonder if that would be the right
thing to use?


Well, that -1 case is special anyway. The fact that we might want to
use the tasklist_lock there is not very relevant, I think. That is
_not_ a hotpath, really (at least not under any relevant loads, I'm
sure you could make a silly benchmark of "kill(-1,0)").

                          Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] CRED: Fix __task_cred()'s lockdep check an ..., Eric W. Biederman, (Thu Aug 5, 12:19 am)
Re: [PATCH 2/2] CRED: Fix __task_cred()'s lockdep check an ..., Linus Torvalds, (Thu Aug 5, 1:26 pm)