[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47a67799-27d9-094e-11c3-a18efcf281e2@intel.com>
Date: Fri, 24 Feb 2023 17:07:01 +0100
From: Alexander Lobakin <aleksander.lobakin@...el.com>
To: Vladimir Oltean <olteanv@...il.com>
CC: Rakesh Sankaranarayanan <rakesh.sankaranarayanan@...rochip.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<woojung.huh@...rochip.com>, <UNGLinuxDriver@...rochip.com>,
<andrew@...n.ch>, <f.fainelli@...il.com>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>
Subject: Re: [PATCH v2 net-next 3/5] net: dsa: microchip: add eth mac grouping
for ethtool statistics
From: Vladimir Oltean <olteanv@...il.com>
Date: Fri, 17 Feb 2023 18:42:27 +0200
> On Fri, Feb 17, 2023 at 04:01:15PM +0100, Alexander Lobakin wrote:
>>> + ++mib->cnt_ptr;
>>
>> Reason for the pre-increment? :)
>
> because it's kool
:D The most common reason for it usually ._.
>
> Somebody not that long ago suggested that pre-increment is "less resource consuming":
> https://patchwork.kernel.org/project/netdevbpf/patch/677a5e37aab97a4f992d35c41329733c5f3082fb.1675407169.git.daniel@makrotopia.org/#25197216
>
> Of course, when pressed to explain more, he stopped responding.
Haha, classics.
It's not so common for people to show up back in the thread after you
ask them to show godbolt / asm code comparison.
Olek
Powered by blists - more mailing lists