Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-rc4 released

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stefan Richter
Date: Thursday, August 21, 2008 - 7:09 am

Nick Piggin wrote:

debug_lock() is AFAICS only called from contexts which have preemption
disabled.  Last time around I recommended to Jeff to document this
requirement on the calling context.

But even though preemption is disabled, debug_lock() is still incorrect
as I mentioned in my other post a minute ago.  It corrupts its .flags
and .count members.  (Or maybe it coincidentally doesn't as long as
volatile is around.)
-- 
Stefan Richter
-=====-==--- =--- =-=-=
http://arcgraph.de/sr/
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger , Nick Piggin, (Thu Aug 21, 6:37 am)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2. ..., Stefan Richter, (Thu Aug 21, 7:02 am)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27 ..., Stefan Richter, (Thu Aug 21, 7:09 am)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2. ..., Stefan Richter, (Thu Aug 21, 8:22 am)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27 ..., Jeremy Fitzhardinge, (Thu Aug 21, 2:06 pm)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27 ..., Jeremy Fitzhardinge, (Thu Aug 21, 2:21 pm)