diff options
author | julian <julian@FreeBSD.org> | 2003-05-02 00:33:12 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2003-05-02 00:33:12 +0000 |
commit | a954908b3534f6488e4e563f6d2912c3df9d750e (patch) | |
tree | 354160c488b1394b67dd663bd12e8767fd5a36cf /sys/kern/kern_ktr.c | |
parent | 14593b22f8b42102305b3d161ae6334b6e445eb4 (diff) | |
download | FreeBSD-src-a954908b3534f6488e4e563f6d2912c3df9d750e.zip FreeBSD-src-a954908b3534f6488e4e563f6d2912c3df9d750e.tar.gz |
Move the flag that indicates an idle thread from the KSE to the thread.
It was always referenced via the thread anyhow.
Reviewed by: jhb (a LOOOOONG time ago)
Diffstat (limited to 'sys/kern/kern_ktr.c')
-rw-r--r-- | sys/kern/kern_ktr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_ktr.c b/sys/kern/kern_ktr.c index 35a15fd..2454406 100644 --- a/sys/kern/kern_ktr.c +++ b/sys/kern/kern_ktr.c @@ -195,7 +195,7 @@ ktr_tracepoint(u_int mask, const char *file, int line, const char *format, #ifdef KTR_ALQ if (ktr_alq_enabled && td->td_critnest == 0 && - (td->td_kse->ke_flags & KEF_IDLEKSE) == 0 && + (td->td_flags & TDF_IDLETD) == 0 && td != ald_thread) { if (ktr_alq_max && ktr_alq_cnt > ktr_alq_max) goto done; |