diff options
Diffstat (limited to 'sys/kern/kern_umtx.c')
-rw-r--r-- | sys/kern/kern_umtx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/kern_umtx.c b/sys/kern/kern_umtx.c index 328fb57..645f02d 100644 --- a/sys/kern/kern_umtx.c +++ b/sys/kern/kern_umtx.c @@ -167,15 +167,9 @@ struct umtxq_chain { * if it is using 100%CPU, this is unfair to other processes. */ -#ifdef KSE -#define UPRI(td) (((td)->td_ksegrp->kg_user_pri >= PRI_MIN_TIMESHARE &&\ - (td)->td_ksegrp->kg_user_pri <= PRI_MAX_TIMESHARE) ?\ - PRI_MAX_TIMESHARE : (td)->td_ksegrp->kg_user_pri) -#else #define UPRI(td) (((td)->td_user_pri >= PRI_MIN_TIMESHARE &&\ (td)->td_user_pri <= PRI_MAX_TIMESHARE) ?\ PRI_MAX_TIMESHARE : (td)->td_user_pri) -#endif #define GOLDEN_RATIO_PRIME 2654404609U #define UMTX_CHAINS 128 |