diff options
| author | Alan Cox <alc@FreeBSD.org> | 2026-08-15 06:15:36 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2026-08-18 06:55:39 +0000 |
| commit | 189ee41b6cc3b0d92c291cc854d9781afec23ad4 (patch) | |
| tree | 21a58dd96bcee04390c2cb1b3ee3baafd22a078b /sys/contrib/openzfs/scripts/(public-mirror) | |
| parent | 68091ebf0a72b58424e6b57d6ff9687af9043003 (diff) | |
At two out of three call sites to vfp_restore_state_common(), the caller
must use critical_{enter,exit}() to prevent preemption between its call
to vfp_restore_state_common() and other actions, notably its call to
sve_enable(). So, it is arguably better to make
vfp_restore_state_common()'s caller responsible for performing
critical_{enter,exit}() and simply perform CRITICAL_ASSERT() inside
vfp_restore_state_common().
Reviewed by: kib, markj
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D58859
Diffstat (limited to 'sys/contrib/openzfs/scripts/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
