Re: [patch 2.6.13-rc6] i386: semaphore ownership tracking

2005-08-20 Thread Lee Revell
On Sat, 2005-08-20 at 03:07 -0400, Chuck Ebbert wrote: > On Fri, 19 Aug 2005 at 20:02:27 -0700, Andrew Morton wrote: > > > Chuck Ebbert <[EMAIL PROTECTED]> wrote: > > > > > > This patch enables tracking semaphore ownership. > > > > Why? I can't think of any bug in recent years which needed this

Re: [patch 2.6.13-rc6] i386: semaphore ownership tracking

2005-08-20 Thread Chuck Ebbert
On Fri, 19 Aug 2005 at 20:02:27 -0700, Andrew Morton wrote: > Chuck Ebbert <[EMAIL PROTECTED]> 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

Re: [patch 2.6.13-rc6] i386: semaphore ownership tracking

2005-08-19 Thread Andrew Morton
Chuck Ebbert <[EMAIL PROTECTED]> wrote: > > This patch enables tracking semaphore ownership. Why? I can't think of any bug in recent years which needed this.. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo in

[patch 2.6.13-rc6] i386: semaphore ownership tracking

2005-08-19 Thread Chuck Ebbert
This patch enables tracking semaphore ownership. It saves a pointer to the thread_info struct of the last process that got a semaphore. I couldn't think of a better way to print out the info, so I hacked up the code that dumps a process's kernel stack so it prints out the PID of the owning proc