Messages in this thread | | | Date | Sun, 27 Nov 2005 13:28:14 +0100 | From | Ingo Molnar <> | Subject | Re: [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/
| |