On 31.01.2019 18:21, Eric Dumazet wrote:
>
>
> On 01/31/2019 07:15 AM, Eric Dumazet wrote:
>>
>>
>> On 01/31/2019 05:49 AM, Kirill Tkhai wrote:
>>>
>>> 2)Not related to your patch -- it looks like we have problem in existing
>>> code with this netdev_refcnt_read(). It does not imply a memory orde
On 31.01.2019 18:14, Alexandre BESNARD wrote:
> Hi Kirill, and thanks for your time,
>
> On 31 Jan 19 14:49, Kirill Tkhai ktk...@virtuozzo.com wrote :
>
>> Hi, Alexandre,
>
>> On 31.01.2019 16:20, alexandre.besn...@softathome.com wrote:
>>> From: Alexandre Besnard
>
>>> Device remaining refere
On 01/31/2019 07:15 AM, Eric Dumazet wrote:
>
>
> On 01/31/2019 05:49 AM, Kirill Tkhai wrote:
>>
>> 2)Not related to your patch -- it looks like we have problem in existing
>> code with this netdev_refcnt_read(). It does not imply a memory ordering
>> or some guarantees about reading percpu va
On 01/31/2019 05:49 AM, Kirill Tkhai wrote:
>
> 2)Not related to your patch -- it looks like we have problem in existing
> code with this netdev_refcnt_read(). It does not imply a memory ordering
> or some guarantees about reading percpu values. For example, in generic
> code struct percpu_ref
Hi Kirill, and thanks for your time,
On 31 Jan 19 14:49, Kirill Tkhai ktk...@virtuozzo.com wrote :
> Hi, Alexandre,
> On 31.01.2019 16:20, alexandre.besn...@softathome.com wrote:
> > From: Alexandre Besnard
> > Device remaining references counter is get as a signed integer.
> > When unregiste
Hi, Alexandre,
On 31.01.2019 16:20, alexandre.besn...@softathome.com wrote:
> From: Alexandre Besnard
>
> Device remaining references counter is get as a signed integer.
>
> When unregistering network devices, the loop waiting for this counter
> to decrement tests the 0 strict equality. Thus if
From: Alexandre Besnard
Device remaining references counter is get as a signed integer.
When unregistering network devices, the loop waiting for this counter
to decrement tests the 0 strict equality. Thus if an error occurs and
two references are given back by a protocol, we are stuck in the loo