From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 098851D8A16 for ; Tue, 7 Jan 2025 15:39:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736264369; cv=none; b=KEE1yZs/dzHEYwlJw8PCSPhLMvQSv8N0SsMTvapg6joMBV97ZTHZhTHniah77yTOlKYWoSKP74o4htmeUJ8iDIQ+kTrGrxqIVquIX869rzv7SsNemSVewSgQeGxhrpfKOX5gnJH1cbatFcsjnzVYYQ/WMcsjQPJzGiwHTcN/2ss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736264369; c=relaxed/simple; bh=FRVjJvG/HbiP4iJ9ShtEBTB73KvSoziGGuOe71w7ujY=; h=From:Message-ID:Date:MIME-Version:Subject:To:Cc:References: In-Reply-To:Content-Type; b=j9CrRSNYL8AWX/xJyCi1hIZejoEkcCr7GvkSRvOyN5Ttwa/GyUjzNKre8N3gU3uaAAPLvoXEtBy5nhya08YvcDCZNe76/NgzDC/XGs9lbbzJHJvnbsGOsRy+tSzEQjbh2jUBJzX9sVOwM8izbtCTTrj99cHWRgI5YjaQmwIReFo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Vrv3c3/k; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Vrv3c3/k" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736264365; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iHSg1y6UnjoLFUKVWKkQCt5FDx941kJIeDF0Ru2YJVU=; b=Vrv3c3/kSgLyrjQEKIr3fCuEXMxa33VP28Qct0a5oxR3mWM/lj9tiQjdHLjW7UlGONWXDA n7wBd2rmRz0mV/BRp54FRkCaow028K0j7PArjTEi9HueGFMEforMYOR1zY4PsdY7iV4G3q kApcxfr1dW9tGJv1OPy4kS3kovI7eQg= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-68-F2bgEqKUMSqh-xKzrE7DhQ-1; Tue, 07 Jan 2025 10:39:24 -0500 X-MC-Unique: F2bgEqKUMSqh-xKzrE7DhQ-1 X-Mimecast-MFC-AGG-ID: F2bgEqKUMSqh-xKzrE7DhQ Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-6dadae92652so368971096d6.2 for ; Tue, 07 Jan 2025 07:39:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736264364; x=1736869164; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iHSg1y6UnjoLFUKVWKkQCt5FDx941kJIeDF0Ru2YJVU=; b=nH+4VMFB7tM1zTTqf+KPWLpwO7qg/xdO+ADMqLgPIMykf9MQzmmwtS88DGTVTkFSuh mH96ycMhpYjLb4AMoW+MLX2iSt0AB7oiUN1VRkwXpvDFVbeHg5WP5oO9fANMKnMKDxRb Qdu8QHpiIvsOx0sLkWbjYKhSoJx6KBxTHngkoYi1To418fwKRJYDfyt9RrLSqyJvy0WJ esBsuksKfnV3kNEGYLpeqJALqQ+CTCbQXlZqlLcTaI1pcRu5VVdt3TBxhYkVxB6qbiDy jg78v3oZy/UCVsCkIZ8k2J6/75eEn4FanMLIyzk6hy/QakmGh1EnTXTSep0mSPLJ58gN 7AOg== X-Forwarded-Encrypted: i=1; AJvYcCXjyYAUTyIUb4PttZhTKlxQp7gUnTQ1vUESBAnIP/lvubXdNesold/IM4kTDgRi4oU6maM+9YcL3/HpKg==@vger.kernel.org X-Gm-Message-State: AOJu0YxC3vpu4e+wdnRQwNddthrYyofAZa0tVPCzKbGtSJoRl7hvZDnL OiD4KfWgdVmlowUCAejtZ89BF0GJ1fG2IKJLkVd84yZaNcqh3m17ZUmK6+OrVKKMX4xIdlIiTwY PNZZSUrOJTJJC3Tecj4Kwn3JTCHoIuqlaF0RUTFh5wFhQhqOm2qxm/QhmN1J2 X-Gm-Gg: ASbGncvfwn2wiE8bUjKZ33W/bfJzQ46nvwZPT2hIO1s0Yv7cVBq/N7ygpttIiUbkpLO 7v+XWLjiTdCPhyNWw6Y6tFpNFIfc81jRdfA2JOmqkpwhkjgr3w4o02IheCUUDXmIiJi2zI0zoPv 7ZY4OgwdtBpYNW077l000PB1I2rFfUuZJclftoCoItkjAp/8JtL6JKe99V+tvT7a8GWLyTcJCHw QO3mC/dxKIfP8GS8piBZpCYILN+ryjj414jW+E20q8xDIyyL4Jt6+p316iuXnf1Dq7IRpl3CLPY vnt9ThKtr/QSnB+E7uHzdxsv X-Received: by 2002:a05:6214:33c4:b0:6dd:d3b:de4e with SMTP id 6a1803df08f44-6dd2339a922mr1051439666d6.36.1736264362711; Tue, 07 Jan 2025 07:39:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4W8jiXvb2g7SfEbTpg7s86WYmhnjTSw6XGGd3uv3PzoxZkmqTCVHHTeUleWDp0snzmmaxAg== X-Received: by 2002:a05:6214:33c4:b0:6dd:d3b:de4e with SMTP id 6a1803df08f44-6dd2339a922mr1051439056d6.36.1736264362302; Tue, 07 Jan 2025 07:39:22 -0800 (PST) Received: from ?IPV6:2601:188:ca00:a00:f844:fad5:7984:7bd7? ([2601:188:ca00:a00:f844:fad5:7984:7bd7]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6dd181a7c13sm182664036d6.77.2025.01.07.07.39.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jan 2025 07:39:21 -0800 (PST) From: Waiman Long X-Google-Original-From: Waiman Long Message-ID: Date: Tue, 7 Jan 2025 10:39:00 -0500 Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/9] sched/isolation: document HK_TYPE housekeeping option To: Daniel Wagner , Jens Axboe , Keith Busch , Christoph Hellwig , Sagi Grimberg , Kashyap Desai , Sumit Saxena , Shivasharan S , Chandrakanth patil , "Martin K. Petersen" , Nilesh Javali , GR-QLogic-Storage-Upstream@marvell.com, Don Brace , "Michael S. Tsirkin" , Jason Wang , Paolo Bonzini , Stefan Hajnoczi , =?UTF-8?Q?Eugenio_P=C3=A9rez?= , Xuan Zhuo , Andrew Morton , Thomas Gleixner Cc: Costa Shulyupin , Juri Lelli , Valentin Schneider , Waiman Long , Ming Lei , =?UTF-8?Q?Michal_Koutn=C3=BD?= , Frederic Weisbecker , Mel Gorman , Hannes Reinecke , Sridhar Balaraman , "brookxu.cn" , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, megaraidlinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, storagedev@microchip.com, virtualization@lists.linux.dev References: <20241217-isolcpus-io-queues-v4-0-5d355fbb1e14@kernel.org> <20241217-isolcpus-io-queues-v4-2-5d355fbb1e14@kernel.org> Content-Language: en-US In-Reply-To: <20241217-isolcpus-io-queues-v4-2-5d355fbb1e14@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 > --- > 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 > #include > > +/** > + * 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