]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The old thread priority must be stored as part of the EPOCH(9) tracker.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Fri, 21 May 2021 08:27:20 +0000 (10:27 +0200)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Sun, 23 May 2021 08:53:25 +0000 (10:53 +0200)
commitef0f7ae934b04a4f90e051d701ba539dd04e7d5b
tree769f334a2501b041a8c3cec1d832da5bf89c151b
parentc50346bcf5c5ccd0ef65d273edea6143f66c999f
The old thread priority must be stored as part of the EPOCH(9) tracker.

Else recursive use of EPOCH(9) may cause the wrong priority to be restored.

Bump the __FreeBSD_version due to changing the thread and epoch tracker
structure.

Differential Revision: https://reviews.freebsd.org/D30375
Reviewed by: markj@
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
sys/kern/subr_epoch.c
sys/sys/epoch.h
sys/sys/param.h
sys/sys/proc.h