From: Davidlohr Bueso <dave@stgolabs.net>
To: martin.petersen@oracle.com, jejb@linux.ibm.com
Cc: hare@suse.de, bigeasy@linutronix.de, tglx@linutronix.de,
linux-scsi@vger.kernel.org, linux-rt-users@vger.kernel.org,
linux-kernel@vger.kernel.org, dave@stgolabs.net
Subject: [PATCH -next 0/3] scsi/fcoe: Play nicer with PREEMPT_RT
Date: Tue, 16 Nov 2021 18:59:53 -0800 [thread overview]
Message-ID: <20211117025956.79616-1-dave@stgolabs.net> (raw)
Hi,
The following are the result of trying to get rid of the out-of-tree
equivalent[1].
Patches 1 and 2 remove the actual scheduling while atomic scenarios.
Patch 3 could be considered optional because afaict the stats do not
actually have blocking calls while having preemption disabled. But
from an RT perspective it's still beneficial as the region remains
preemptible.
Compile tested only.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/tree/patches/scsi_fcoe__Make_RT_aware..patch?h=linux-5.15.y-rt-patches
Thanks!
Davidlohr Bueso (3):
scsi/libfc: Remove get_cpu() semantics in fc_exch_em_alloc()
scsi/fcoe: Add a local_lock to fcoe_percpu
scsi/fcoe: Add a local_lock to percpu localport statistics
drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 16 ++++++++------
drivers/scsi/bnx2fc/bnx2fc_io.c | 5 +++--
drivers/scsi/fcoe/fcoe.c | 35 +++++++++++++++++++------------
drivers/scsi/fcoe/fcoe_ctlr.c | 24 +++++++++++++--------
drivers/scsi/libfc/fc_exch.c | 3 +--
drivers/scsi/libfc/fc_fcp.c | 31 +++++++++++++++++++--------
drivers/scsi/qedf/qedf_main.c | 7 ++++---
include/scsi/libfc.h | 7 +++++++
include/scsi/libfcoe.h | 2 ++
9 files changed, 86 insertions(+), 44 deletions(-)
--
2.26.2
next reply other threads:[~2021-11-17 3:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 2:59 Davidlohr Bueso [this message]
2021-11-17 2:59 ` [PATCH 1/3] scsi/libfc: Remove get_cpu() semantics in fc_exch_em_alloc() Davidlohr Bueso
2021-11-17 7:25 ` Sebastian Andrzej Siewior
2021-11-17 2:59 ` [PATCH 2/3] scsi/fcoe: Add a local_lock to fcoe_percpu Davidlohr Bueso
2021-11-17 7:50 ` Sebastian Andrzej Siewior
2021-11-17 2:59 ` [PATCH 3/3] scsi/fcoe: Add a local_lock to percpu localport statistics Davidlohr Bueso
2021-11-17 8:34 ` Sebastian Andrzej Siewior
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=20211117025956.79616-1-dave@stgolabs.net \
--to=dave@stgolabs.net \
--cc=bigeasy@linutronix.de \
--cc=hare@suse.de \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®