diff options
author | jeff <jeff@FreeBSD.org> | 2007-01-04 08:36:40 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2007-01-04 08:36:40 +0000 |
commit | 2f1839e23619a4554b68221db49e2711a4636cd8 (patch) | |
tree | a65927214933c635da31d0e38041ccc8dd66e8ba /sys | |
parent | 4711a00b9ee742ec5de888457fe32d40afdba156 (diff) | |
download | FreeBSD-src-2f1839e23619a4554b68221db49e2711a4636cd8.zip FreeBSD-src-2f1839e23619a4554b68221db49e2711a4636cd8.tar.gz |
- Add SRQ_BORROWING to the list of switch reasons. ULE is the only consumer
at this time. It is used to optimize the run queue placement of threads
who have newly elevated priorities.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/proc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 13e41e0..353dcb6 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -651,6 +651,7 @@ struct proc { #define SRQ_OURSELF 0x0002 /* It is ourself (from mi_switch). */ #define SRQ_INTR 0x0004 /* It is probably urgent. */ #define SRQ_PREEMPTED 0x0008 /* has been preempted.. be kind */ +#define SRQ_BORROWING 0x0010 /* Priority updated due to prio_lend */ /* How values for thread_single(). */ #define SINGLE_NO_EXIT 0 |