Re: [patch 0/9] Fix various __task_cred related invalid RCU assumptions

David Howells
2009-12-11T13:40:18Z

Thomas Gleixner <tglx@linutronix.de> wrote:

> While auditing the read_lock(&tasklist_lock) sites for a possible
> conversion to rcu-read_lock() I stumbled over an unprotected user of
> __task_cred in kernel/sys.c

I'm sure last time I looked, spinlock primitives implied RCU read locks.
Maybe I was mistaken or maybe it's changed. Whatever, good catch, Thomas!

Thanks,
David