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.129.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 155E01E5738 for ; Tue, 7 Jan 2025 15:39:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736264368; cv=none; b=gz5zTWxf1K/3Uui49sTkX7zOh2I4MaYC9Hkl9H1ettL7mpaTs1hAbY6cHX90CiWCbO91SnqDL8F2ZGUmtMS2AnWo/LcY9hE7jjg7PU1AfaVB9Biwy4jUoepSwCFxjDOulVRmkUwjeEDTcg8v07GkJ6/fuK3IAVuqQsczabkV90s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736264368; c=relaxed/simple; bh=FRVjJvG/HbiP4iJ9ShtEBTB73KvSoziGGuOe71w7ujY=; h=From:Message-ID:Date:MIME-Version:Subject:To:Cc:References: In-Reply-To:Content-Type; b=JL/72sw8zWQOPJPVQixGID6FWRjfmQGfEOAgNLX4XhKziqePdw+x1NZqn2G1/76qwNppjOund5UtQ6mJgmPGa7pi7tRqjDD9nthWtgE5LA8gBmjqfnV+yJH/eTE7Ir9p3XVrdx0Y6y1sYxX/A6zx6qeiccKX//uPrkFjvuDuOck= 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=cFz7WPyY; arc=none smtp.client-ip=170.10.129.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="cFz7WPyY" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736264366; 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=cFz7WPyYI0v6enNRUlbDjZQGXhtwssRZBQNiLx4CdylJUVYqv9PTS0aEKllRIE50zjvyMn 6m2js7rC+fHodreE3CbPpDQVxf2IYV8WyLi7mWHGJFd8rwzFm5NHpFsJoq4AncNsyFvacK SQj6xXNmvZAlwrWFXeucj70/y6qTloE= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-287-ym3An3HZN-yuVrWm-SJH5Q-1; Tue, 07 Jan 2025 10:39:25 -0500 X-MC-Unique: ym3An3HZN-yuVrWm-SJH5Q-1 X-Mimecast-MFC-AGG-ID: ym3An3HZN-yuVrWm-SJH5Q Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-6d8844560e9so350040756d6.3 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=H10+KBec6u2w+iL1Gb2meTzR7/7XilWajFa0t+RvIOgSLJQKne460acvBlf+crBbK1 D7nfMq1ZAFOdxP3dlq1J/jVHW7Z31w8JjIJYXMUDNQeHgj5uk8WD13WyBRj6Z7UdWVJ/ VvJeEGESC1wm0IIfB9Es5mb+rqMiSvgI+r2WMeoW9ehDi0A+xC9ZwM3VR8zlCUOdPIVK Fh5kl2seYJ3mS8ylyPe6dgnwmi3152/ib7pKAoOE36pMD//wr3qSRd04ICZfPsDurXFN hwckutO6ltVfmNeOgQp7e3SCxNxEEva8u/YCQPw52yQYql8VmeXrUh25RH8DpIeBNPxo fq0A== X-Forwarded-Encrypted: i=1; AJvYcCXasJAIdCmPx6tOT24uo8kfEBKuzgUSAaXX60cQIzQGvN6g/WjlgUKyRomr0V12G6oQ4ypyyWrPHGo2PFw=@vger.kernel.org X-Gm-Message-State: AOJu0YwRRlgKsMzwCECvErZ49xU0igve9YK7grWYxdFcQhus7SxFScTy ZaKQbQ5Jslo4bKi/W8l5r8MmClzIC3oWxJrleiznuWKe5QxP5itSI91DUt8BRSz+DEUzK3m9BLM uFjRSUOwt9AhZCvRg6pcTr7MwW8kIFoBcoRBdvTy0i4t9BxN35fJPLk8SAin8og== X-Gm-Gg: ASbGncuTseTuv1Ejzp3Ee6Nt5hDiEINJosH27iUF9Os36vrlOQ/5TCGWBLFN5jrQEWU k4ue/aHHrEABTWESKRt9rzHSTAYkP0AF7pF296j+8rsQPE2vGSpf2gBLaOdHsIyPbp+cI2DyxAZ IKMsadhvHOw9s0Xbpex3Ub1RNJ0YALS4d8oBU75YUJKhR+m+F5jcqWiu1kBqiwlR9ZXAGo6M2gI 7+QatuJ1WNihdMt5wKontXme/yv03jPC/GVjAVK2GICvu5bx+1NuuaI/O2fUV4L/T8kutFUtYIW VxecNdLeTncJq/Z9dxrU7+8q X-Received: by 2002:a05:6214:33c4:b0:6dd:d3b:de4e with SMTP id 6a1803df08f44-6dd2339a922mr1051439566d6.36.1736264362706; 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-kernel@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