[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f7t7c2je0u7.fsf@redhat.com>
Date: Wed, 14 May 2025 10:14:24 -0400
From: Aaron Conole <aconole@...hat.com>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: netdev@...r.kernel.org, linux-rt-devel@...ts.linux.dev,
dev@...nvswitch.org, Ilya Maximets <i.maximets@....org>, Eric Dumazet
<edumazet@...gle.com>, Simon Horman <horms@...nel.org>, Jakub Kicinski
<kuba@...nel.org>, Thomas Gleixner <tglx@...utronix.de>, Paolo Abeni
<pabeni@...hat.com>, "David S. Miller" <davem@...emloft.net>
Subject: Re: [ovs-dev] [PATCH net-next v4 09/15] openvswitch: Move
ovs_frag_data_storage into the struct ovs_pcpu_storage
Sebastian Andrzej Siewior <bigeasy@...utronix.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@...hat.com>
> Cc: Eelco Chaudron <echaudro@...hat.com>
> Cc: Ilya Maximets <i.maximets@....org>
> Cc: dev@...nvswitch.org
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
> ---
Reviewed-by: Aaron Conole <aconole@...hat.com>
Powered by blists - more mailing lists