]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use SFENCE for ordering CLFLUSHOPT.
authorkib <kib@FreeBSD.org>
Fri, 20 Jan 2017 19:08:44 +0000 (19:08 +0000)
committerkib <kib@FreeBSD.org>
Fri, 20 Jan 2017 19:08:44 +0000 (19:08 +0000)
commitd52cc80dafc708f3148df294c03058c97c3f5418
treec5a7b09ed584b73a25661c3fd2ca3ca2485269af
parentf4431a7edb984d4fb59472e63861bb302b3605f7
Use SFENCE for ordering CLFLUSHOPT.

SDM states that CLFLUSHOPT instructions can be ordered with other
writes by SFENCE, heavier MFENCE is not required.

Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
sys/amd64/amd64/pmap.c
sys/amd64/include/cpufunc.h
sys/i386/i386/pmap.c
sys/i386/include/cpufunc.h