[lkml]   [2001]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] improve spinlock debugging
   From: Manfred Spraul <>
Date: Mon, 03 Dec 2001 21:10:27 +0100

Which other runtime checks are possible?
Tests for correct _irq usage are not possible, several drivers use

Keep track of how many locks are being held at once, and check if it
is zero at switch_to() time. You can also do this to measure things
like max number of locks held at once and other statistics.

I added the first bit to sparc64 while hunting down a bug.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.135 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site