Messages in this thread | | | Date | Fri, 13 Oct 2023 18:10:54 +0200 | From | Oleg Nesterov <> | Subject | Re: [PATCH] locking/seqlock: Propagate 'const' pointers within read-only methods, remove forced type casts |
| |
On 10/13, Ingo Molnar wrote: > > So create two wrapper variants instead: 'ptr' and 'const_ptr', and pick the > right one for the codepaths that are const: read_seqcount_begin() and > read_seqcount_retry(). > > This cleans up type handling and allows the removal of all type forcing.
Too late, but nevertheless
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
| |