Re: [RFC PATCH v2 1/6] proc: Reduce cache miss in {snmp,netstat}_seq_show

From: hejianet
Date: Tue Sep 06 2016 - 22:29:15 EST




On 9/7/16 6:57 AM, David Miller wrote:
From: Jia He <hejianet@xxxxxxxxx>
Date: Tue, 6 Sep 2016 10:30:04 +0800

+#define MAX(a, b) ((u32)(a) >= (u32)(b) ? (a) : (b))
Thanks
B.R.
Jia

Please do not define private min/max macros, use the existing max_t()
or similar as needed.