From: Waiman Long <longman@redhat.com>
To: sheviks <sheviks@gmail.com>
Cc: frederic@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [QUESTION/REGRESSION] Unbound kthreads scheduled on nohz_full CPUs after commit 041ee6f3727a
Date: Mon, 23 Mar 2026 17:36:05 -0400 [thread overview]
Message-ID: <ac623d3d-1b98-4fd0-8d8d-9d01d8b70676@redhat.com> (raw)
In-Reply-To: <CAHD6eKRHavZzKE88v7qKBBppiOWb_iiF-Jg3oh8GyduYiSe84Q@mail.gmail.com>
On 3/23/26 12:58 AM, sheviks wrote:
> Waiman Long <longman@redhat.com> 於 2026年3月23日 週一 05:18 寫道:
>> The plan is to make nohz_full also dynamically changeable at run time in
>> the future. We are not there yet. Now HK_TYPE_KTHREAD is equivalent to
>> HK_TYPE_DOMAIN.
>>
>> A CPU cannot be considered fully isolated if it is in either
>> HK_TYPE_DOMAIN or HK_TYPE_KERNEL_NOISE. Currently, the nohz_full kernel
>> parameter can be used to put a set of partially isolated CPUs in the
>> nohz_full reservoir. To fully isolate them, some or all of them will be
>> need to be put in an isolated cpuset partition. BTW, HK_TYPE_MANAGED_IRQ
>> will be made to be dynamic too.
>>
>> That is my current view.
>>
> That sounds like a great roadmap. I am very much looking forward to
> seeing the final implementation, as making nohz_full and managed IRQs
> dynamic would be a significant improvement for runtime isolation
> flexibility.
>
> However, regarding the current state in 7.0rc4, I observed that
> HK_TYPE_KTHREAD still appears to be initialized as
> HK_TYPE_KERNEL_NOISE rather than HK_TYPE_DOMAIN in the initialization
> path.
> Perhaps this part of the alignment hasn't been merged into the mainline yet?
Yes, I notice that too. I am working on a patch to alias it to
HK_TYPE_DOMAIN instead.
Cheers,
Longman
>
> Thanks for the clarification and for your work on this!
> Best regards,
> Sheviks
>
next prev parent reply other threads:[~2026-03-23 21:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-21 4:44 sheviks
2026-03-22 16:04 ` Waiman Long
2026-03-22 17:48 ` sheviks
2026-03-22 21:18 ` Waiman Long
2026-03-23 4:58 ` sheviks
2026-03-23 21:36 ` Waiman Long [this message]
2026-03-24 10:05 ` sheviks
2026-03-22 22:33 ` Frederic Weisbecker
2026-03-23 2:00 ` sheviks
2026-03-23 21:31 ` Frederic Weisbecker
[not found] ` <CAHD6eKRA4K1bLk0YmFg0SfcUK8=Ybftn0PCE7eB65N0MUdObCw@mail.gmail.com>
2026-03-24 11:34 ` sheviks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ac623d3d-1b98-4fd0-8d8d-9d01d8b70676@redhat.com \
--to=longman@redhat.com \
--cc=frederic@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sheviks@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®