Author: delphij Date: Tue Jan 29 07:47:57 2019 New Revision: 343544 URL: https://svnweb.freebsd.org/changeset/base/343544
Log: MFC r343038: Use TD_IS_IDLETHREAD instead of unrolled version. Modified: stable/12/sys/kern/kern_ktr.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/kern/kern_ktr.c ============================================================================== --- stable/12/sys/kern/kern_ktr.c Tue Jan 29 04:08:49 2019 (r343543) +++ stable/12/sys/kern/kern_ktr.c Tue Jan 29 07:47:57 2019 (r343544) @@ -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-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"