aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2010-03-12 20:13:23 +0100
committerThomas Gleixner <[email protected]>2010-03-12 22:40:44 +0100
commit802702e0c2618465b813242d4dfee6a233ba0beb (patch)
treee21c74065e82a77c45c4f815c626fbafc7fff469 /net/lapb/lapb_in.c
parent576da126a6c7364d70dfd58d0bbe43d05cf5859f (diff)
timer: Try to survive timer callback preempt_count leak
If a timer callback leaks preempt_count we currently assert a BUG(). That makes it unnecessarily hard to retrieve information about the problem especially on laptops and headless stations. There is a decent chance to survive the preempt_count leak by restoring the preempt_count to the value before the callback. That allows in many cases to get valuable information about the root cause of the problem. We carried that fixup in preempt-rt for years and were able to decode such wreckage quite a few times. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Linux Torvalds <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Arjan van de Veen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions