Date: Tue, 29 Jan 2019 07:47:58 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r343544 - stable/12/sys/kern Message-ID: <201901290747.x0T7lwYv093969@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901290747.x0T7lwYv093969>