gt;>> Boqun
>> >>>>
>> >>>> On Wed, Jan 01, 2025 at 08:23:06AM +, Wei Yang wrote:
>> >>>>> The example code for "Eliminating Stale Data" looks not correct:
>> >>>>>
>> >>>>
:
> >>>>> The example code for "Eliminating Stale Data" looks not correct:
> >>>>>
> >>>>> * rcu_read_unlock() should put after kstrdup()
> >>>>> * spin_unlock() should be called before return
> >>>>>
> &g
t;>>
>>>> Regards,
>>>> Boqun
>>>>
>>>> On Wed, Jan 01, 2025 at 08:23:06AM +, Wei Yang wrote:
>>>>> The example code for "Eliminating Stale Data" looks not correct:
>>>>>
>>>>> * rcu_read
, Wei Yang wrote:
>>>> The example code for "Eliminating Stale Data" looks not correct:
>>>>
>>>> * rcu_read_unlock() should put after kstrdup()
>>>> * spin_unlock() should be called before return
>>>>
>>>>
>
>>> * rcu_read_unlock() should put after kstrdup()
>>> * spin_unlock() should be called before return
>>>
>>> Signed-off-by: Wei Yang
>> [...]
>>
>>
>> -->8
>> Subject: [PATCH] doc/RCU/listRCU: Fix an e
correct:
> >>
> >> * rcu_read_unlock() should put after kstrdup()
> >> * spin_unlock() should be called before return
> >>
> >> Signed-off-by: Wei Yang
> > [...]
> >
> >
> > -->8
> > Subject: [PA
turn
>>
>> Signed-off-by: Wei Yang
> [...]
>
>
> -->8
> Subject: [PATCH] doc/RCU/listRCU: Fix an example code snippets
>
> The example code for "Eliminating Stale Data" looks not correct:
>
> * rcu_read_unlock() should put after kst
for "Eliminating Stale Data" looks not correct:
>
> * rcu_read_unlock() should put after kstrdup()
> * spin_unlock() should be called before return
>
> Signed-off-by: Wei Yang
[...]
-------------->8
Subject: [PATCH] doc/RCU/listRCU: Fix an example code
Ping
On Wed, Jan 01, 2025 at 08:23:06AM +, Wei Yang wrote:
>The example code for "Eliminating Stale Data" looks not correct:
>
> * rcu_read_unlock() should put after kstrdup()
> * spin_unlock() should be called before return
>
>Signed-off-by: Wei Yang
>
>---
>Hope my understanding is correc
The example code for "Eliminating Stale Data" looks not correct:
* rcu_read_unlock() should put after kstrdup()
* spin_unlock() should be called before return
Signed-off-by: Wei Yang
---
Hope my understanding is correct.
---
Documentation/RCU/listRCU.rst | 3 ++-
1 file changed, 2 insertio
10 matches
Mail list logo