Author: delphij Date: Tue Jan 15 06:44:37 2019 New Revision: 343038 URL: https://svnweb.freebsd.org/changeset/base/343038
Log: Use TD_IS_IDLETHREAD instead of unrolled version. MFC after: 2 weeks Modified: head/sys/kern/kern_ktr.c Modified: head/sys/kern/kern_ktr.c ============================================================================== --- head/sys/kern/kern_ktr.c Tue Jan 15 03:43:46 2019 (r343037) +++ head/sys/kern/kern_ktr.c Tue Jan 15 06:44:37 2019 (r343038) @@ -341,7 +341,7 @@ ktr_tracepoint(uint64_t mask, const char *file, int li #ifdef KTR_ALQ if (ktr_alq_enabled) { if (td->td_critnest == 0 && - (td->td_flags & TDF_IDLETD) == 0 && + (TD_IS_IDLETHREAD(td)) == 0 && td != ald_thread) { if (ktr_alq_max && ktr_alq_cnt > ktr_alq_max) goto done; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"