summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2002-10-21 18:37:34 +0000
committerjulian <julian@FreeBSD.org>2002-10-21 18:37:34 +0000
commite971bd56b12f98042ad975fdb1d4fad327e0e878 (patch)
tree52cd9ff657bf9a375f21dc521128127ae01e9a42 /sys
parenta52c2344dd60a42364187acbf3770b8040ef1be0 (diff)
downloadFreeBSD-src-e971bd56b12f98042ad975fdb1d4fad327e0e878.zip
FreeBSD-src-e971bd56b12f98042ad975fdb1d4fad327e0e878.tar.gz
Add a flag needed for recovery of excess allocated KSEs.
(not used in non KSE processes). Submitted by: davidxu
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/proc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 9b7cb59..6bded97 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -447,8 +447,9 @@ struct kse {
#define KEF_USER 0x00200 /* Process is not officially in the kernel */
#define KEF_ASTPENDING 0x00400 /* KSE has a pending ast. */
#define KEF_NEEDRESCHED 0x00800 /* Process needs to yield. */
-#define KEF_ONLOANQ 0x01000 /* KSE is on loan queue */
+#define KEF_ONLOANQ 0x01000 /* KSE is on loan queue. */
#define KEF_DIDRUN 0x02000 /* KSE actually ran. */
+#define KEF_EXIT 0x04000 /* KSE is being killed. */
/*
* (*) A bound KSE with a bound thread in a KSE process may be lent to
OpenPOWER on IntegriCloud