diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2021-05-21 08:27:20 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2021-05-23 08:53:25 +0000 |
commit | ef0f7ae934b04a4f90e051d701ba539dd04e7d5b (patch) | |
tree | 769f334a2501b041a8c3cec1d832da5bf89c151b /sys/sys/proc.h | |
parent | c50346bcf5c5ccd0ef65d273edea6143f66c999f (diff) | |
download | src-ef0f7ae934b04a4f90e051d701ba539dd04e7d5b.tar.gz src-ef0f7ae934b04a4f90e051d701ba539dd04e7d5b.zip |
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
Diffstat (limited to 'sys/sys/proc.h')
-rw-r--r-- | sys/sys/proc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 926f0de14b84..8098bb9468ec 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -325,7 +325,6 @@ struct thread { u_char td_pri_class; /* (t) Scheduling class. */ u_char td_user_pri; /* (t) User pri from estcpu and nice. */ u_char td_base_user_pri; /* (t) Base user pri */ - u_char td_pre_epoch_prio; /* (k) User pri on entry to epoch */ uintptr_t td_rb_list; /* (k) Robust list head. */ uintptr_t td_rbp_list; /* (k) Robust priv list head. */ uintptr_t td_rb_inact; /* (k) Current in-action mutex loc. */ |