lkml.org 
[lkml]   [2005]   [Nov]   [27]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 27 Nov 2005 13:28:14 +0100
FromIngo Molnar <>
SubjectRe: [PATCH] Make RCU task_struct safe for oprofile
* Paul E. McKenney <paulmck@us.ibm.com> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-27 13:31    [from the cache]
©2003-2008