Re: [PATCH] softlockup: fix NMI hangs due to lock race - 2.6.26-rc regression

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jason Wessel
Date: Wednesday, May 28, 2008 - 6:31 am

Peter Zijlstra wrote:


If the try locks are used it will certainly solve the NMI problem, but
it seems that the probability that lock could not be obtained would
increase for the "normal" operation case.  In the "normal" operation
case the lock would generally be available in a few more cpu ticks and
the update would proceed correctly.  It is not clear to me if there is
some ramification of returning the ->clock without the update in this
case, which is why I opted for deferring the update in the NMI case.

Perhaps if you return the clock without updating the unstable clock
source is more unstable?  It would be best to figure out how to
address regression so as to observe the intent of seemly more complex
clock logic.

Jason.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] softlockup: fix NMI hangs due to lock race - 2 ..., Jason Wessel, (Wed May 28, 6:31 am)