Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   riastradh
Date:           Sat Jul 30 14:11:01 UTC 2022

Modified Files:
        src/common/lib/libc/arch/i386/atomic: atomic.S
        src/common/lib/libc/arch/x86_64/atomic: atomic.S
        src/sys/arch/amd64/include: frameasm.h
        src/sys/arch/i386/include: frameasm.h
        src/sys/arch/x86/x86: patch.c

Log Message:
x86: Eliminate mfence hotpatch for membar_sync.

The more-compatible  LOCK ADD $0,-N(%rsp)  turns out to be cheaper
than MFENCE anyway.  Let's save some space and maintenance and rip
out the hotpatching for it.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/common/lib/libc/arch/i386/atomic/atomic.S
cvs rdiff -u -r1.28 -r1.29 src/common/lib/libc/arch/x86_64/atomic/atomic.S
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/amd64/include/frameasm.h
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/i386/include/frameasm.h
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/x86/x86/patch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index