Re: [PATCH] Make RCU task_struct safe for oprofile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Paul E. McKenney <[email protected]> wrote:

> Hello!
> 
> Applying RCU to the task structure broke oprofile, because 
> free_task_notify() can now be called from softirq.  This means that 
> the task_mortuary lock must be acquired with irq disabled in order to 
> avoid intermittent self-deadlock.  Since irq is now disabled, the 
> critical section within process_task_mortuary() has been restructured 
> to be O(1) in order to maximize scalability and minimize realtime 
> latency degradation.
> 
> Kudos to Wu Fengguang for finding this problem!

thanks, i applied this to the -rt tree.

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux