lkml.org 
[lkml]   [2005]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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    [W:0.994 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site