From: Yury Norov <yury.norov@gmail•com>
To: Bjorn Helgaas <helgaas@kernel•org>
Cc: linux-kernel@vger•kernel.org, linuxppc-dev@lists•ozlabs.org,
linux-s390@vger•kernel.org, netdev@vger•kernel.org,
virtualization@lists•linux.dev, linux-nvme@lists•infradead.org,
linux-hyperv@vger•kernel.org, linux-pci@vger•kernel.org,
linux-scsi@vger•kernel.org, linux-crypto@vger•kernel.org,
"Michael Ellerman" <mpe@ellerman•id.au>,
"Nicholas Piggin" <npiggin@gmail•com>,
"Christophe Leroy" <christophe.leroy@csgroup•eu>,
"Naveen N Rao" <naveen@kernel•org>,
"Madhavan Srinivasan" <maddy@linux•ibm.com>,
"Heiko Carstens" <hca@linux•ibm.com>,
"Vasily Gorbik" <gor@linux•ibm.com>,
"Alexander Gordeev" <agordeev@linux•ibm.com>,
"Christian Borntraeger" <borntraeger@linux•ibm.com>,
"Sven Schnelle" <svens@linux•ibm.com>,
"Haren Myneni" <haren@linux•ibm.com>,
"Rick Lindsley" <ricklind@linux•ibm.com>,
"Nick Child" <nnac123@linux•ibm.com>,
"Thomas Falcon" <tlfalcon@linux•ibm.com>,
"Andrew Lunn" <andrew+netdev@lunn•ch>,
"David S. Miller" <davem@davemloft•net>,
"Eric Dumazet" <edumazet@google•com>,
"Jakub Kicinski" <kuba@kernel•org>,
"Paolo Abeni" <pabeni@redhat•com>,
"Michael S. Tsirkin" <mst@redhat•com>,
"Jason Wang" <jasowang@redhat•com>,
"Xuan Zhuo" <xuanzhuo@linux•alibaba.com>,
"Eugenio Pérez" <eperezma@redhat•com>,
"Keith Busch" <kbusch@kernel•org>, "Jens Axboe" <axboe@kernel•dk>,
"Christoph Hellwig" <hch@lst•de>,
"Sagi Grimberg" <sagi@grimberg•me>,
"K. Y. Srinivasan" <kys@microsoft•com>,
"Haiyang Zhang" <haiyangz@microsoft•com>,
"Wei Liu" <wei.liu@kernel•org>,
"Dexuan Cui" <decui@microsoft•com>,
"Lorenzo Pieralisi" <lpieralisi@kernel•org>,
"Krzysztof Wilczyński" <kw@linux•com>,
"Manivannan Sadhasivam" <manivannan.sadhasivam@linaro•org>,
"Rob Herring" <robh@kernel•org>,
"Bjorn Helgaas" <bhelgaas@google•com>,
"James Smart" <james.smart@broadcom•com>,
"Dick Kennedy" <dick.kennedy@broadcom•com>,
"James E.J. Bottomley" <James.Bottomley@hansenpartnership•com>,
"Martin K. Petersen" <martin.petersen@oracle•com>,
"Rasmus Villemoes" <linux@rasmusvillemoes•dk>,
"Matt Wu" <wuqiang.matt@bytedance•com>,
"Steffen Klassert" <steffen.klassert@secunet•com>,
"Daniel Jordan" <daniel.m.jordan@oracle•com>,
"Andrew Morton" <akpm@linux-foundation•org>,
"Greg Kurz" <groug@kaod•org>, "Peter Xu" <peterx@redhat•com>,
"Shrikanth Hegde" <sshegde@linux•ibm.com>,
"Hendrik Brueckner" <brueckner@linux•ibm.com>
Subject: Re: [PATCH 06/14] cpumask: re-introduce cpumask_next{,_and}_wrap()
Date: Tue, 14 Jan 2025 22:41:02 -0500 [thread overview]
Message-ID: <Z4cuTsHbO6yiuFKA@thinkpad> (raw)
In-Reply-To: <20250103174432.GA4182129@bhelgaas>
On Fri, Jan 03, 2025 at 11:44:32AM -0600, Bjorn Helgaas wrote:
> On Sat, Dec 28, 2024 at 10:49:38AM -0800, Yury Norov wrote:
> > cpumask_next_wrap_old() has two additional parameters, comparing to it's
> > analogue in linux/find.h find_next_bit_wrap(). The reason for that is
> > historical.
>
> s/it's/its/
>
> Personally I think cscope/tags/git grep make "find_next_bit_wrap()"
> enough even without mentioning "linux/find.h".
>
> > + * cpumask_next_and_wrap - get the next cpu in *src1p & *src2p, starting from
> > + * @n and wrapping around, if needed
> > + * @n: the cpu prior to the place to search (i.e. return will be > @n)
>
> Is the return really > @n if it wraps?
No, this is a copy-paste error. Will fix in v2.
Thanks,
Yury
next prev parent reply other threads:[~2025-01-15 3:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-28 18:49 [PATCH 00/14] cpumask: cleanup cpumask_next_wrap() implementation and usage Yury Norov
2024-12-28 18:49 ` [PATCH 02/14] virtio_net: simplify virtnet_set_affinity() Yury Norov
2024-12-28 18:49 ` [PATCH 03/14] ibmvnic: simplify ibmvnic_set_queue_affinity() Yury Norov
2025-01-07 22:37 ` Nick Child
2025-01-07 22:42 ` Yury Norov
2025-01-07 23:04 ` Yury Norov
2025-01-08 14:08 ` [PATCH 03/14] ibmvnic: simplify ibmvnic_set_queue_affinity()y Nick Child
2024-12-28 18:49 ` [PATCH 05/14] cpumask: deprecate cpumask_next_wrap() Yury Norov
2025-01-03 17:39 ` Bjorn Helgaas
2024-12-28 18:49 ` [PATCH 06/14] cpumask: re-introduce cpumask_next{,_and}_wrap() Yury Norov
2025-01-03 17:44 ` Bjorn Helgaas
2025-01-15 3:41 ` Yury Norov [this message]
2025-01-07 13:28 ` Alexander Gordeev
2025-01-15 3:38 ` Yury Norov
2025-01-03 7:02 ` [PATCH 00/14] cpumask: cleanup cpumask_next_wrap() implementation and usage Christoph Hellwig
2025-01-03 15:21 ` Yury Norov
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=Z4cuTsHbO6yiuFKA@thinkpad \
--to=yury.norov@gmail$(echo .)com \
--cc=James.Bottomley@hansenpartnership$(echo .)com \
--cc=agordeev@linux$(echo .)ibm.com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=andrew+netdev@lunn$(echo .)ch \
--cc=axboe@kernel$(echo .)dk \
--cc=bhelgaas@google$(echo .)com \
--cc=borntraeger@linux$(echo .)ibm.com \
--cc=brueckner@linux$(echo .)ibm.com \
--cc=christophe.leroy@csgroup$(echo .)eu \
--cc=daniel.m.jordan@oracle$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=decui@microsoft$(echo .)com \
--cc=dick.kennedy@broadcom$(echo .)com \
--cc=edumazet@google$(echo .)com \
--cc=eperezma@redhat$(echo .)com \
--cc=gor@linux$(echo .)ibm.com \
--cc=groug@kaod$(echo .)org \
--cc=haiyangz@microsoft$(echo .)com \
--cc=haren@linux$(echo .)ibm.com \
--cc=hca@linux$(echo .)ibm.com \
--cc=hch@lst$(echo .)de \
--cc=helgaas@kernel$(echo .)org \
--cc=james.smart@broadcom$(echo .)com \
--cc=jasowang@redhat$(echo .)com \
--cc=kbusch@kernel$(echo .)org \
--cc=kuba@kernel$(echo .)org \
--cc=kw@linux$(echo .)com \
--cc=kys@microsoft$(echo .)com \
--cc=linux-crypto@vger$(echo .)kernel.org \
--cc=linux-hyperv@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-nvme@lists$(echo .)infradead.org \
--cc=linux-pci@vger$(echo .)kernel.org \
--cc=linux-s390@vger$(echo .)kernel.org \
--cc=linux-scsi@vger$(echo .)kernel.org \
--cc=linux@rasmusvillemoes$(echo .)dk \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=lpieralisi@kernel$(echo .)org \
--cc=maddy@linux$(echo .)ibm.com \
--cc=manivannan.sadhasivam@linaro$(echo .)org \
--cc=martin.petersen@oracle$(echo .)com \
--cc=mpe@ellerman$(echo .)id.au \
--cc=mst@redhat$(echo .)com \
--cc=naveen@kernel$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=nnac123@linux$(echo .)ibm.com \
--cc=npiggin@gmail$(echo .)com \
--cc=pabeni@redhat$(echo .)com \
--cc=peterx@redhat$(echo .)com \
--cc=ricklind@linux$(echo .)ibm.com \
--cc=robh@kernel$(echo .)org \
--cc=sagi@grimberg$(echo .)me \
--cc=sshegde@linux$(echo .)ibm.com \
--cc=steffen.klassert@secunet$(echo .)com \
--cc=svens@linux$(echo .)ibm.com \
--cc=tlfalcon@linux$(echo .)ibm.com \
--cc=virtualization@lists$(echo .)linux.dev \
--cc=wei.liu@kernel$(echo .)org \
--cc=wuqiang.matt@bytedance$(echo .)com \
--cc=xuanzhuo@linux$(echo .)alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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