From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH] bonding:avoid repeated display of same link status change Date: Tue, 23 Oct 2018 09:10:44 -0700 Message-ID: <65f98009-1ce0-d6fd-06dc-233aa115abc9@gmail.com> References: <20181023152924.24033-1-mk.singh@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: linux-netdev , Jay Vosburgh , Veaceslav Falico , Andy Gospodarek , "David S. Miller" , linux-kernel@vger.kernel.org To: =?UTF-8?B?TWFoZXNoIEJhbmRld2FyICjgpK7gpLngpYfgpLYg4KSs4KSC4KSh4KWH4KS1?= =?UTF-8?B?4KS+4KSwKQ==?= , mk.singh@oracle.com Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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()