All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aaron Conole <aconole@redhat.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: netdev@vger.kernel.org,  linux-rt-devel@lists.linux.dev,
	dev@openvswitch.org,  Ilya Maximets <i.maximets@ovn.org>,
	 Eric Dumazet <edumazet@google.com>,
	 Simon Horman <horms@kernel.org>,
	 Jakub Kicinski <kuba@kernel.org>,
	 Thomas Gleixner <tglx@linutronix.de>,
	 Paolo Abeni <pabeni@redhat.com>,
	 "David S. Miller" <davem@davemloft.net>
Subject: Re: [ovs-dev] [PATCH net-next v4 09/15] openvswitch: Move ovs_frag_data_storage into the struct ovs_pcpu_storage
Date: Wed, 14 May 2025 10:14:24 -0400	[thread overview]
Message-ID: <f7t7c2je0u7.fsf@redhat.com> (raw)
In-Reply-To: <20250512092736.229935-10-bigeasy@linutronix.de> (Sebastian Andrzej Siewior's message of "Mon, 12 May 2025 11:27:30 +0200")

Sebastian Andrzej Siewior <bigeasy@linutronix.de> writes:

> ovs_frag_data_storage is a per-CPU variable and relies on disabled BH for its
> locking. Without per-CPU locking in local_bh_disable() on PREEMPT_RT
> this data structure requires explicit locking.
>
> Move ovs_frag_data_storage into the struct ovs_pcpu_storage which already
> provides locking for the structure.
>
> Cc: Aaron Conole <aconole@redhat.com>
> Cc: Eelco Chaudron <echaudro@redhat.com>
> Cc: Ilya Maximets <i.maximets@ovn.org>
> Cc: dev@openvswitch.org
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> ---

Reviewed-by: Aaron Conole <aconole@redhat.com>


  reply	other threads:[~2025-05-14 14:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-12  9:27 [PATCH net-next v4 00/15] net: Cover more per-CPU storage with local nested BH locking Sebastian Andrzej Siewior
2025-05-12  9:27 ` [PATCH net-next v4 01/15] net: page_pool: Don't recycle into cache on PREEMPT_RT Sebastian Andrzej Siewior
2025-05-12  9:27 ` [PATCH net-next v4 02/15] net: dst_cache: Use nested-BH locking for dst_cache::cache Sebastian Andrzej Siewior
2025-05-12  9:27 ` [PATCH net-next v4 03/15] ipv4/route: Use this_cpu_inc() for stats on PREEMPT_RT Sebastian Andrzej Siewior
2025-05-12  9:27 ` [PATCH net-next v4 04/15] ipv6: sr: Use nested-BH locking for hmac_storage Sebastian Andrzej Siewior
2025-05-12  9:27 ` [PATCH net-next v4 05/15] xdp: Use nested-BH locking for system_page_pool Sebastian Andrzej Siewior
2025-05-12  9:27 ` [PATCH net-next v4 06/15] xfrm: Use nested-BH locking for nat_keepalive_sk_ipv[46] Sebastian Andrzej Siewior
2025-05-12  9:27 ` [PATCH net-next v4 07/15] openvswitch: Merge three per-CPU structures into one Sebastian Andrzej Siewior
2025-05-14 14:13   ` [ovs-dev] " Aaron Conole
2025-05-12  9:27 ` [PATCH net-next v4 08/15] openvswitch: Use nested-BH locking for ovs_pcpu_storage Sebastian Andrzej Siewior
2025-05-14 14:14   ` [ovs-dev] " Aaron Conole
2025-05-12  9:27 ` [PATCH net-next v4 09/15] openvswitch: Move ovs_frag_data_storage into the struct ovs_pcpu_storage Sebastian Andrzej Siewior
2025-05-14 14:14   ` Aaron Conole [this message]
2025-05-12  9:27 ` [PATCH net-next v4 10/15] net/sched: act_mirred: Move the recursion counter struct netdev_xmit Sebastian Andrzej Siewior
2025-05-15  9:55   ` Paolo Abeni
2025-05-15 12:49     ` Juri Lelli
2025-05-12  9:27 ` [PATCH net-next v4 11/15] net/sched: Use nested-BH locking for sch_frag_data_storage Sebastian Andrzej Siewior
2025-05-12  9:27 ` [PATCH net-next v4 12/15] mptcp: Use nested-BH locking for hmac_storage Sebastian Andrzej Siewior
2025-05-12  9:27 ` [PATCH net-next v4 13/15] rds: Disable only bottom halves in rds_page_remainder_alloc() Sebastian Andrzej Siewior
2025-05-12  9:27 ` [PATCH net-next v4 14/15] rds: Acquire per-CPU pointer within BH disabled section Sebastian Andrzej Siewior
2025-05-12  9:27 ` [PATCH net-next v4 15/15] rds: Use nested-BH locking for rds_page_remainder Sebastian Andrzej Siewior
2025-05-15 13:40 ` [PATCH net-next v4 00/15] net: Cover more per-CPU storage with local nested BH locking patchwork-bot+netdevbpf

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=f7t7c2je0u7.fsf@redhat.com \
    --to=aconole@redhat.com \
    --cc=bigeasy@linutronix.de \
    --cc=davem@davemloft.net \
    --cc=dev@openvswitch.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=i.maximets@ovn.org \
    --cc=kuba@kernel.org \
    --cc=linux-rt-devel@lists.linux.dev \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.