Messages in this thread | | | Date | Sat, 20 Aug 2005 03:07:43 -0400 | From | Chuck Ebbert <> | Subject | Re: [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/
| |