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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stefan Richter <stefanr@...>
Cc: <jmerkey@...>, <paulmck@...>, Peter Zijlstra <peterz@...>, <linux-kernel@...>, Linus Torvalds <torvalds@...>, Nick Piggin <nickpiggin@...>, David Howells <dhowells@...>
Date: Thursday, August 21, 2008 - 10:08 am

> jmerkey@wolfmountaingroup.com wrote:

The code works in debug lock provided this memory location is actually
SHARED between the processors.  The various race conditions you describe
are valid cases, but he only modifier of .count and .lock is the processor
that obtains the spinlock -- the rest are readers.  This code works well,
of course, when this memory location is actually SHARED between the
processors and the read/write operations serialized.

Even in SMP, at various times it is necessary for the processors to
perform serializing operations.  You cannot in checker-scoreboard land for
everything.

Jeff

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-rc..., Paul E. McKenney, (Thu Aug 21, 12:43 pm)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-rc..., Paul E. McKenney, (Thu Aug 21, 12:48 pm)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6...., Stefan Richter, (Thu Aug 21, 10:02 am)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6...., , (Thu Aug 21, 10:08 am)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6...., Stefan Richter, (Thu Aug 21, 11:22 am)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger , Nick Piggin, (Thu Aug 21, 9:37 am)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-r..., Jeremy Fitzhardinge, (Thu Aug 21, 5:06 pm)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-r..., Jeremy Fitzhardinge, (Thu Aug 21, 5:21 pm)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-rc..., Paul E. McKenney, (Thu Aug 21, 10:30 am)
Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-rc..., Paul E. McKenney, (Thu Aug 21, 10:53 am)