Re: [PATCH] bonding:avoid repeated display of same link status change
From: Eric Dumazet
Date: Tue Oct 23 2018 - 12:10:51 EST
On 10/23/2018 08:54 AM, Mahesh Bandewar (àààà ààààààà) wrote:
> Atomic operations are expensive (on certain architectures) and miimon
> runs quite frequently. Is the added cost of these atomic operations
> even worth just to avoid *duplicate info* messages? This seems like a
> overkill!
atomic_read() is a simple read, no atomic operation involved.
Same remark for atomic_set()