[Devel] Re: [PATCH 1/7] introduce atomic_dec_and_lock_irqsave()

Roman Zippel zippel at linux-m68k.org
Wed Aug 30 03:51:28 PDT 2006


Hi,

On Wed, 30 Aug 2006, Oleg Nesterov wrote:

> > Why does this need protection against interrupts?
> 
> uidhash_lock can be taken from irq context. For example, delayed_put_task_struct()
> does __put_task_struct()->free_uid().

AFAICT it's called via rcu, does that mean anything released via rcu has 
to be protected against interrupts?

bye, Roman




More information about the Devel mailing list