[lkml]   [2005]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 2.6.13-rc6] i386: semaphore ownership tracking
On Fri, 19 Aug 2005 at 20:02:27 -0700, Andrew Morton wrote:

> Chuck Ebbert <> wrote:
> >
> > This patch enables tracking semaphore ownership.
> Why? I can't think of any bug in recent years which needed this..

It might be useful in new driver development. OTOH it is really ugly
even if it's a small patch.

I did get an education from it, though. The usb-storage threads on my
system were sleeping on semaphores they already owned, making me wonder if
my patch really worked. It turns out that code in scsiglue.c does an up()
to wake them without ever acquiring the semaphore.

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-08-20 09:14    [W:0.028 / U:3.064 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site