diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-10-15 14:28:00 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-10-15 14:28:00 +0000 |
| commit | 35a226dded9934c6beb5945a982a705712454be1 (patch) | |
| tree | 17148ecc9f10c4e15daaf9537fb3355abd529536 /sys/modules/mmc/Makefile | |
| parent | eaaf838e33042ed3f282a5cdf8e1260e78d4989b (diff) | |
This is the program that found the races fixed in 1f1043d550ea. One
thread keeps a pattern in f14-f31 across a signal, while helpers pinned
to the same CPU keep different patterns in the real registers and get
woken up from another CPU to preempt it at random points. If the kernel
ever hands it somebody else's registers, the pattern doesn't match.
The register loads, the thr_kill() and the handshake with the helper are
in assembly so that nothing touches the FP registers between sigreturn
and the check. It runs for ten seconds and is skipped with fewer than
two CPUs.
Requested by: adrian
Approved by: jhibbits
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D60411
Diffstat (limited to 'sys/modules/mmc/Makefile')
0 files changed, 0 insertions, 0 deletions
