[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180711.194920.590731873210311426.davem@davemloft.net>
Date: Wed, 11 Jul 2018 19:49:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lirongqing@...du.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: convert gro_count to bitmask
From: Li RongQing <lirongqing@...du.com>
Date: Wed, 11 Jul 2018 17:15:53 +0800
> + clear_bit(index, &napi->gro_bitmask);
Please don't use atomics here, at least use __clear_bit().
This is why I did the operations by hand in my version of the patch.
Also, if you are going to preempt my patch, at least retain the
comment I added around the GRO_HASH_BUCKETS definitions which warns
the reader about the limit.
Thanks.
Powered by blists - more mailing lists