mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chuck Ebbert <76306.1226@compuserve.com>
To: Andrew Morton <akpm@osdl.org>
Cc: mingo@elte.hu, ak@suse.de, torvalds@osdl.org,
	linux-kernel@vger.kernel.org
Subject: Re: [patch 2.6.13-rc6] i386: semaphore ownership tracking
Date: Sat, 20 Aug 2005 03:07:43 -0400	[thread overview]
Message-ID: <200508200310_MC3-1-A7BC-D1C0@compuserve.com> (raw)

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

             reply	other threads:[~2005-08-20  7:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-20  7:07 Chuck Ebbert [this message]
2005-08-20 19:01 ` Lee Revell
  -- strict thread matches above, loose matches on Subject: below --
2005-08-21  9:47 Chuck Ebbert
2005-08-20  2:54 Chuck Ebbert
2005-08-20  3:02 ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200508200310_MC3-1-A7BC-D1C0@compuserve.com \
    --to=76306.1226@compuserve.com \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome