Linux RAID subsystem development
 help / color / mirror / Atom feed
From: "Srivatsa S. Bhat" <srivatsa@csail.mit.edu>
To: Richard Cheng <icheng@nvidia.com>
Cc: "Jonathan Corbet" <corbet@lwn.net>,
	"Shuah Khan" <skhan@linuxfoundation.org>,
	"Randy Dunlap" <rdunlap@infradead.org>,
	"Minchan Kim" <minchan@kernel.org>,
	"Sergey Senozhatsky" <senozhatsky@chromium.org>,
	"Jens Axboe" <axboe@kernel.dk>,
	"Chanwoo Choi" <cw00.choi@samsung.com>,
	"MyungJoo Ham" <myungjoo.ham@samsung.com>,
	"Kyungmin Park" <kyungmin.park@samsung.com>,
	"Heiko Stuebner" <heiko@sntech.de>,
	"Xu Yilun" <yilun.xu@intel.com>, "Tom Rix" <trix@redhat.com>,
	"Moritz Fischer" <mdf@kernel.org>,
	"Suzuki K Poulose" <suzuki.poulose@arm.com>,
	"Mike Leach" <mike.leach@arm.com>,
	"James Clark" <james.clark@linaro.org>,
	"Leo Yan" <leo.yan@arm.com>,
	"Alexander Shishkin" <alexander.shishkin@linux.intel.com>,
	"Sizhe Liu" <liusizhe5@huawei.com>,
	"Robin Murphy" <robin.murphy@arm.com>,
	"Joerg Roedel (AMD)" <joro@8bytes.org>,
	"Will Deacon" <will@kernel.org>, "Song Liu" <song@kernel.org>,
	"Yu Kuai" <yukuai@fygo.io>, "Li Nan" <magiclinan@didiglobal.com>,
	"Xiao Ni" <xiao@kernel.org>, "Haren Myneni" <haren@linux.ibm.com>,
	"Rick Lindsley" <ricklind@linux.ibm.com>,
	"Nick Child" <nnac123@linux.ibm.com>,
	"Madhavan Srinivasan" <maddy@linux.ibm.com>,
	"Michael Ellerman" <mpe@ellerman.id.au>,
	"Nicholas Piggin" <npiggin@gmail.com>,
	"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
	"Ritesh Harjani (IBM)" <ritesh.list@gmail.com>,
	"Shrikanth Hegde" <sshegde@linux.ibm.com>,
	"Andrew Lunn" <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@kernel.org>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Marcin Wojtas" <marcin.s.wojtas@gmail.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Jason Wang" <jasowangio@gmail.com>,
	"Eugenio Pérez" <eperezma@redhat.com>,
	"Xuan Zhuo" <xuanzhuo@linux.alibaba.com>,
	"Dan Williams" <djbw@kernel.org>,
	"Vishal Verma" <vishal.l.verma@intel.com>,
	"Dave Jiang" <dave.jiang@intel.com>,
	"Alison Schofield" <alison.schofield@intel.com>,
	"Ira Weiny" <iweiny@kernel.org>,
	"Shuai Xue" <xueshuai@linux.alibaba.com>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Jonathan Cameron" <jic23@kernel.org>,
	"Jing Zhang" <renyu.zj@linux.alibaba.com>,
	"Frank Li" <Frank.li@nxp.com>, "Xu Yang" <xu.yang_2@nxp.com>,
	"Sascha Hauer" <s.hauer@pengutronix.de>,
	"Pengutronix Kernel Team" <kernel@pengutronix.de>,
	"Fabio Estevam" <festevam@gmail.com>,
	"Yushan Wang" <wangyushan12@huawei.com>,
	"Jijie Shao" <shaojijie@huawei.com>,
	"Gowthami Thiagarajan" <gthiagarajan@marvell.com>,
	"Geetha sowjanya" <gakula@marvell.com>,
	"Justin Tee" <justin.tee@broadcom.com>,
	"Paul Ely" <paul.ely@broadcom.com>,
	"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
	"Martin K. Petersen" <mkp@kernel.org>,
	"Thomas Gleixner" <tglx@kernel.org>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Steffen Klassert" <steffen.klassert@secunet.com>,
	"Daniel Jordan" <daniel.m.jordan@oracle.com>,
	"Steven Rostedt" <rostedt@goodmis.org>,
	"Masami Hiramatsu" <mhiramat@kernel.org>,
	"Mathieu Desnoyers" <mathieu.desnoyers@efficios.com>,
	"Johannes Weiner" <hannes@cmpxchg.org>,
	"Yosry Ahmed" <yosry@kernel.org>, "Nhat Pham" <nphamcs@gmail.com>,
	"Chengming Zhou" <chengming.zhou@linux.dev>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-block@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-fpga@vger.kernel.org,
	coresight@lists.linaro.org, iommu@lists.linux.dev,
	linux-raid@vger.kernel.org, netdev@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, virtualization@lists.linux.dev,
	nvdimm@lists.linux.dev, linux-perf-users@vger.kernel.org,
	linux-cxl@vger.kernel.org, imx@lists.linux.dev,
	linux-scsi@vger.kernel.org, linux-crypto@vger.kernel.org,
	linux-trace-kernel@vger.kernel.org, linux-mm@kvack.org,
	"Prasanna Kumar T S M" <ptsm@linux.microsoft.com>,
	"Saurabh Sengar" <ssengar@linux.microsoft.com>
Subject: Re: [PATCH] cpu/hotplug: Rename cpuhp_remove_multi_state to be symmetric with setup
Date: Fri, 27 Nov 2026 14:19:20 +0530	[thread overview]
Message-ID: <awlEEAmT4k7fvQck@csail.mit.edu> (raw)
In-Reply-To: <awk6TGp9riwDD55i@MWDK4CY14F>

Hi Richard,

On Fri, Nov 27, 2026 at 04:09:11PM +0800, Richard Cheng wrote:
> On Fri, Nov 27, 2026 at 01:07:40PM +0800, Srivatsa S. Bhat (Microsoft) wrote:
> > The multi-instance CPU hotplug state setup API is named as
> > cpuhp_setup_state_multi(), whereas the corresponding remove API is
> > currently named as cpuhp_remove_multi_state(). Rename the latter as
> > cpuhp_remove_state_multi() to fix the asymmetry. This also helps
> > maintain consistency in the API names by letting them share a common
> > prefix, i.e., cpuhp_setup/remove_state_*() across all the variants
> > [none|nocalls|nocalls_cpuslocked].
> > 
> > Signed-off-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
> 
> Hi Srivatsa,
> 
> Not sure whether this is really needed, it doesn't harm anything,
> but IMHO it doesn't really brings us benefit.
> 

I agree, this is not intended to be a functional change. The cleanup benefit is
on the side of the CPU hotplug core API to provide better consistency in terms
of the API naming pattern, but the current callsites that consume this API
should see no functional difference as a result of this change. The consistency
will help future callsites though!

Regards,
Srivatsa

      reply	other threads:[~2026-11-27  8:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  7:37 [PATCH] cpu/hotplug: Rename cpuhp_remove_multi_state to be symmetric with setup Srivatsa S. Bhat (Microsoft)
2026-11-27  7:44 ` Srivatsa S. Bhat
2026-11-27  8:09 ` Richard Cheng
2026-11-27  8:49   ` Srivatsa S. Bhat [this message]

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=awlEEAmT4k7fvQck@csail.mit.edu \
    --to=srivatsa@csail.mit.edu \
    --cc=Frank.li@nxp.com \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=akpm@linux-foundation.org \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=alison.schofield@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=axboe@kernel.dk \
    --cc=chengming.zhou@linux.dev \
    --cc=chleroy@kernel.org \
    --cc=corbet@lwn.net \
    --cc=coresight@lists.linaro.org \
    --cc=cw00.choi@samsung.com \
    --cc=daniel.m.jordan@oracle.com \
    --cc=dave.jiang@intel.com \
    --cc=davem@davemloft.net \
    --cc=djbw@kernel.org \
    --cc=edumazet@kernel.org \
    --cc=eperezma@redhat.com \
    --cc=festevam@gmail.com \
    --cc=gakula@marvell.com \
    --cc=gthiagarajan@marvell.com \
    --cc=hannes@cmpxchg.org \
    --cc=haren@linux.ibm.com \
    --cc=heiko@sntech.de \
    --cc=icheng@nvidia.com \
    --cc=imx@lists.linux.dev \
    --cc=iommu@lists.linux.dev \
    --cc=iweiny@kernel.org \
    --cc=james.clark@linaro.org \
    --cc=jasowangio@gmail.com \
    --cc=jic23@kernel.org \
    --cc=joro@8bytes.org \
    --cc=justin.tee@broadcom.com \
    --cc=kernel@pengutronix.de \
    --cc=kuba@kernel.org \
    --cc=kyungmin.park@samsung.com \
    --cc=leo.yan@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-fpga@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=liusizhe5@huawei.com \
    --cc=maddy@linux.ibm.com \
    --cc=magiclinan@didiglobal.com \
    --cc=marcin.s.wojtas@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mdf@kernel.org \
    --cc=mhiramat@kernel.org \
    --cc=mike.leach@arm.com \
    --cc=minchan@kernel.org \
    --cc=mkp@kernel.org \
    --cc=mpe@ellerman.id.au \
    --cc=mst@redhat.com \
    --cc=myungjoo.ham@samsung.com \
    --cc=netdev@vger.kernel.org \
    --cc=nnac123@linux.ibm.com \
    --cc=nphamcs@gmail.com \
    --cc=npiggin@gmail.com \
    --cc=nvdimm@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=paul.ely@broadcom.com \
    --cc=peterz@infradead.org \
    --cc=ptsm@linux.microsoft.com \
    --cc=rdunlap@infradead.org \
    --cc=renyu.zj@linux.alibaba.com \
    --cc=ricklind@linux.ibm.com \
    --cc=ritesh.list@gmail.com \
    --cc=robin.murphy@arm.com \
    --cc=rostedt@goodmis.org \
    --cc=s.hauer@pengutronix.de \
    --cc=senozhatsky@chromium.org \
    --cc=shaojijie@huawei.com \
    --cc=skhan@linuxfoundation.org \
    --cc=song@kernel.org \
    --cc=ssengar@linux.microsoft.com \
    --cc=sshegde@linux.ibm.com \
    --cc=steffen.klassert@secunet.com \
    --cc=suzuki.poulose@arm.com \
    --cc=tglx@kernel.org \
    --cc=trix@redhat.com \
    --cc=virtualization@lists.linux.dev \
    --cc=vishal.l.verma@intel.com \
    --cc=wangyushan12@huawei.com \
    --cc=will@kernel.org \
    --cc=xiao@kernel.org \
    --cc=xu.yang_2@nxp.com \
    --cc=xuanzhuo@linux.alibaba.com \
    --cc=xueshuai@linux.alibaba.com \
    --cc=yilun.xu@intel.com \
    --cc=yosry@kernel.org \
    --cc=yukuai@fygo.io \
    /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