]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r339449:
authorMateusz Guzik <mjg@FreeBSD.org>
Tue, 20 Nov 2018 17:01:55 +0000 (17:01 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Tue, 20 Nov 2018 17:01:55 +0000 (17:01 +0000)
commit47bcd32c107235d6d9fe41ae641d62cec7c111d0
tree8a3fda1f475516d249c75e6869d0fe60c280e0a3
parente4edfae25eaf5e1095367d273935786c1cf61caf
MFC r339449:

    amd64: relax constraints in curthread and curpcb

    This makes the compiler less likely to reload the content from %gs.

    The 'P' modifier drops all synteax prefixes and 'n' constraint treats
    input as a known at compilation time immediate integer.

    Example reloading victim was spinlock_enter.
sys/amd64/include/pcpu.h