RE: dcache BUG()

2 messages, 2 authors, 2001-05-10 · open the first message on its own page

RE: dcache BUG()

From: Brian Kuschak <hidden>
Date: 2001-05-10 21:20:12

What can happen is a lwarx to an address, in some other context a
simple store to that address (no reservation broken) then a subsequent
stwcx. to the address will appear successful.  Hmmmm.....several
ways to fix it, I wonder what will work best.....
Yes, this sounds bad.  However, I wonder if it's really the cause of this
particular bug.  I cannot find any code which does a regular store to the
d_count variables.  All writes to these counters appear to use the atomic
ops.

Brian

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: dcache BUG()

From: Dan Malek <hidden>
Date: 2001-05-10 21:26:36

Brian Kuschak wrote:
....  I cannot find any code which does a regular store to the
d_count variables.  All writes to these counters appear to use the atomic
ops.
Yeah, but there are "atomic" ops/functions/macros that underneath
can do simple read/writes without using the PowerPC reservation
instructions (because they haven't been needed on other processors).


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help