Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2002 16:11:08 -0800 (PST)
From:      Matthew Jacob <mjacob@feral.com>
To:        "Alan L. Cox" <alc@imimic.com>
Cc:        Jeff Roberson <jroberson@chesapeake.net>, Andrew Gallatin <gallatin@cs.duke.edu>, alpha@FreeBSD.ORG, alc@FreeBSD.ORG, John Baldwin <jhb@FreeBSD.ORG>
Subject:   Re: alpha: top of tree kernel blooie
Message-ID:  <Pine.BSF.4.21.0211091602040.52837-100000@beppo>
In-Reply-To: <3DCD7244.DEEA7387@imimic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 2. Don't we compile by default for the older Alphas that lack byte
> manipulation instructions?  Thus, a byte store is implemented by a
> read-modify-write sequence of instructions.  Thus, two simultaneous
> uma_dbg_alloc()s on adjacent locations in us_freelist could cause
> corruption.

The processors on the 4100 are ev56:

CPU: EV56 (21164A) major=7 minor=2 extensions=0x1<BWX>

but I see your point uma_dbg_alloc/uma_dbg_free. The correct code here
should be atomic_set_char and atomic_clear_char I would think.






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0211091602040.52837-100000>