Re: RFC on fixing mutex spinning on owner
From: Thomas Gleixner
Date: Thu Mar 17 2016 - 07:17:53 EST
On Thu, 17 Mar 2016, Peter Zijlstra wrote:
> Also, maybe the tracer should measure the time from need_resched()
> getting true until the next preemption point, instead of the entire time
> preemption was disabled. Which would avoid the entire issue altogether.
Well, that only gives you the information on a actual preemption, but not
information about long preempt disabled regions which can cause a problem
eventually.
Thanks,
tglx