[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a04eb7d4-4817-41db-bc74-a9fb63f33c5c@redhat.com>
Date: Tue, 7 Jan 2025 10:39:00 -0500
From: Waiman Long <llong@...hat.com>
To: Daniel Wagner <wagi@...nel.org>, Jens Axboe <axboe@...nel.dk>,
Keith Busch <kbusch@...nel.org>, Christoph Hellwig <hch@....de>,
Sagi Grimberg <sagi@...mberg.me>, Kashyap Desai
<kashyap.desai@...adcom.com>, Sumit Saxena <sumit.saxena@...adcom.com>,
Shivasharan S <shivasharan.srikanteshwara@...adcom.com>,
Chandrakanth patil <chandrakanth.patil@...adcom.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Nilesh Javali <njavali@...vell.com>, GR-QLogic-Storage-Upstream@...vell.com,
Don Brace <don.brace@...rochip.com>, "Michael S. Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>, Paolo Bonzini <pbonzini@...hat.com>,
Stefan Hajnoczi <stefanha@...hat.com>, Eugenio Pérez
<eperezma@...hat.com>, Xuan Zhuo <xuanzhuo@...ux.alibaba.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: Costa Shulyupin <costa.shul@...hat.com>,
Juri Lelli <juri.lelli@...hat.com>, Valentin Schneider
<vschneid@...hat.com>, Waiman Long <llong@...hat.com>,
Ming Lei <ming.lei@...hat.com>, Michal Koutný
<mkoutny@...e.com>, Frederic Weisbecker <frederic@...nel.org>,
Mel Gorman <mgorman@...e.de>, Hannes Reinecke <hare@...e.de>,
Sridhar Balaraman <sbalaraman@...allelwireless.com>,
"brookxu.cn" <brookxu.cn@...il.com>, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, linux-nvme@...ts.infradead.org,
megaraidlinux.pdl@...adcom.com, linux-scsi@...r.kernel.org,
storagedev@...rochip.com, virtualization@...ts.linux.dev
Subject: Re: [PATCH v4 2/9] sched/isolation: document HK_TYPE housekeeping
option
On 12/17/24 1:29 PM, Daniel Wagner wrote:
> The enum is a public API which can be used all over the kernel. This
> warrants a bit of documentation.
>
> Signed-off-by: Daniel Wagner <wagi@...nel.org>
> ---
> include/linux/sched/isolation.h | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/include/linux/sched/isolation.h b/include/linux/sched/isolation.h
> index 2b461129d1fad0fd0ef1ad759fe44695dc635e8c..6649c3a48e0ea0a88c84bf5f2a74bff039fadaf2 100644
> --- a/include/linux/sched/isolation.h
> +++ b/include/linux/sched/isolation.h
> @@ -6,6 +6,19 @@
> #include <linux/init.h>
> #include <linux/tick.h>
>
> +/**
> + * enum hk_type - housekeeping cpu mask types
> + * @HK_TYPE_TIMER: housekeeping cpu mask for timers
> + * @HK_TYPE_RCU: housekeeping cpu mask for RCU
> + * @HK_TYPE_MISC: housekeeping cpu mask for miscalleanous resources
> + * @HK_TYPE_SCHED: housekeeping cpu mask for scheduling
> + * @HK_TYPE_TICK: housekeeping cpu maks for timer tick
> + * @HK_TYPE_DOMAIN: housekeeping cpu mask for general SMP balancing
> + * and scheduling algoririthms
> + * @HK_TYPE_WQ: housekeeping cpu mask for worksqueues
> + * @HK_TYPE_MANAGED_IRQ: housekeeping cpu mask for managed IRQs
> + * @HK_TYPE_KTHREAD: housekeeping cpu mask for kthreads
> + */
> enum hk_type {
> HK_TYPE_TIMER,
> HK_TYPE_RCU,
>
The various housekeeping types are in the process of being consolidated
as most of them cannot be set independently. See commit 6010d245ddc9
("sched/isolation: Consolidate housekeeping cpumasks that are always
identical") in linux-next or tip. So this patch will have conflict.
Cheers,
Longman
Powered by blists - more mailing lists