From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Hannes Reinecke <hare@kernel.org>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
James Bottomley <james.bottomley@hansenpartnership.com>,
Bart van Assche <bvanassche@acm.org>,
Yury Norov <yury.norov@gmail.com>,
linux-scsi@vger.kernel.org
Subject: Re: [PATCH] scsi/fcoe: remove fcoe_select_cpu()
Date: Mon, 09 Jun 2025 21:30:56 -0400 [thread overview]
Message-ID: <yq1ikl47592.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20250605062014.105302-1-hare@kernel.org> (Hannes Reinecke's message of "Thu, 5 Jun 2025 08:20:14 +0200")
Hannes,
> The function fcoe_select_cpu() is just used to distribute incoming
> skbs which start a new FC command sequence. But the network stack
> already received (and processed) that skb, and there is a _really_
> good chance that all subsequent skbs for this sequence will be handled
> with the same CPU. So we should just use the cpu on which this skb was
> allocated on and save ourselves some overhead due to pointless
> scheduling.
Applied to 6.17/scsi-staging, thanks!
--
Martin K. Petersen
prev parent reply other threads:[~2025-06-10 1:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-05 6:20 [PATCH] scsi/fcoe: remove fcoe_select_cpu() Hannes Reinecke
2025-06-10 1:30 ` Martin K. Petersen [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=yq1ikl47592.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=bvanassche@acm.org \
--cc=hare@kernel.org \
--cc=james.bottomley@hansenpartnership.com \
--cc=linux-scsi@vger.kernel.org \
--cc=yury.norov@gmail.com \
/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