mirror of
https://github.com/opnsense/src.git
synced 2026-03-18 08:41:30 -04:00
In r356767, memcpy/memmove/bcopy optimizations were added to libc to improve performance. This exposed an existing kernel issue in VSX handling. The PSL_VSX flag was not being excluded from the psl_userstatic set, which meant that any thread that used these and then called swapcontext(3) would get an EINVAL error. Fixing this exposed a second issue - in r344123, the FPU was being forced off in set_mcontext(). However, this was neglecting to ensure VSX was turned off at the same time. While here, add some code comments to explain what's going on. Reviewed by: jhibbits, luporl (earlier rev), pkubaj (earlier rev) Sponsored by: Tag1 Consulting, Inc. Differential Revision: https://reviews.freebsd.org/D23497 |
||
|---|---|---|
| .. | ||
| booke_machdep.c | ||
| locore.S | ||
| machdep_e500.c | ||
| machdep_ppc4xx.c | ||
| mp_cpudep.c | ||
| platform_bare.c | ||
| pmap.c | ||
| spe.c | ||
| trap_subr.S | ||