HomeFreeBSD

Define CK_MD_TSO for the relevant arches (i386, amd64 and sparc64).

Description

Define CK_MD_TSO for the relevant arches (i386, amd64 and sparc64).
Defaulting to CK_MD_RMO has the unfortunate side effect of generating
memory barriers that are useless on those arches, and the even more
unfortunate side effect of generating lfence/sfence/mfence on i386, even
if older CPUs don't support it.
This should fix the panic reported when using IPFW on a Pentium 3.
Note that mfence and sfence might still be used in a few case, but that
shouldn't happen in FreeBSD right now, and should be fixed upstream first.

MFC after: 1 week

Details

Provenance
cognetAuthored on
Parents
rS329387: stand/lua: Chop off the decimal for numbers passed to setcursor
Branches
Unknown
Tags
Unknown