mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Use TD_IS_IDLETHREAD instead of unrolled version.
MFC after: 2 weeks
This commit is contained in:
parent
5a8eee2bb4
commit
305bb04ee4
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ ktr_tracepoint(uint64_t mask, const char *file, int line, const char *format,
|
|||
#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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue