From a954908b3534f6488e4e563f6d2912c3df9d750e Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 2 May 2003 00:33:12 +0000 Subject: 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) --- sys/kern/kern_ktr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/kern_ktr.c') 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; -- cgit v1.1