aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/proc.h
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2019-12-15 21:18:07 +0000
committerJeff Roberson <jeff@FreeBSD.org>2019-12-15 21:18:07 +0000
commit045b7c6084d4d1d512cbf55fc40ccbae3a92044e (patch)
tree6ab4947e313cfc185a76c15871b77d11b9c54446 /sys/sys/proc.h
parentb19c9dea3ec011ea419f91b5489f0572c2169ca5 (diff)
downloadsrc-045b7c6084d4d1d512cbf55fc40ccbae3a92044e.tar.gz
src-045b7c6084d4d1d512cbf55fc40ccbae3a92044e.zip
schedlock 2/4
Do all sleepqueue post-processing in sleepq_remove_thread() so that we do not require the thread lock after a context switch. Reviewed by: jhb, kib Differential Revision: https://reviews.freebsd.org/D22745
Notes
Notes: svn path=/head/; revision=355781
Diffstat (limited to 'sys/sys/proc.h')
-rw-r--r--sys/sys/proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index cd856657f341..6600cec2b951 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -431,7 +431,7 @@ do { \
#define TDF_TIMEOUT 0x00000010 /* Timing out during sleep. */
#define TDF_IDLETD 0x00000020 /* This is a per-CPU idle thread. */
#define TDF_CANSWAP 0x00000040 /* Thread can be swapped. */
-#define TDF_SLEEPABORT 0x00000080 /* sleepq_abort was called. */
+#define TDF_UNUSED80 0x00000080 /* unused. */
#define TDF_KTH_SUSP 0x00000100 /* kthread is suspended */
#define TDF_ALLPROCSUSP 0x00000200 /* suspended by SINGLE_ALLPROC */
#define TDF_BOUNDARY 0x00000400 /* Thread suspended at user boundary */