lkml.org 
[lkml]   [2005]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 <76306.1226@compuserve.com> 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.

__
Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-20 09:14    [W:0.063 / U:1.132 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site