diff options
author | Julian Elischer <julian@FreeBSD.org> | 2003-05-02 00:33:12 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 2003-05-02 00:33:12 +0000 |
commit | b1ac98d8b27a21983ff38293ee3bb7e961552a64 (patch) | |
tree | 354160c488b1394b67dd663bd12e8767fd5a36cf /sys/kern/kern_ktr.c | |
parent | 8705f13eab6fa0e0fe3fe02533280bfc9fb41e20 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=114471
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 35a15fd6a0f2..245440681986 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; |