Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH] rxrpc_find_service_conn_rcu: use read_seqbegin() rather than read_seqbegin_or_lock() | Date | Wed, 01 Nov 2023 21:22:30 +0000 |
| |
Oleg Nesterov <oleg@redhat.com> wrote:
> Just none of read_seqbegin_or_lock/need_seqretry/done_seqretry > helpers make any sense in this code.
I disagree. I think in at least a couple of cases I do want a locked second path - ideally locked shared if seqlock can be made to use an rwlock instead of a spinlock.
David
| |