[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200121.153522.1248409324581446114.davem@davemloft.net>
Date: Tue, 21 Jan 2020 15:35:22 +0100 (CET)
From: David Miller <davem@...emloft.net>
To: gautamramk@...il.com
Cc: netdev@...r.kernel.org, tahiliani@...k.edu.in, jhs@...atatu.com,
dave.taht@...il.com, toke@...hat.com, kuba@...nel.org,
stephen@...workplumber.org, lesliemonis@...il.com
Subject: Re: [PATCH net-next v4 05/10] pie: rearrange structure members and
their initializations
From: gautamramk@...il.com
Date: Tue, 21 Jan 2020 19:42:44 +0530
> From: "Mohit P. Tahiliani" <tahiliani@...k.edu.in>
>
> Rearrange the members of the structures such that they appear in
> order of their types. Also, change the order of their
> initializations to match the order in which they appear in the
> structures. This improves the code's readability and consistency.
>
> Signed-off-by: Mohit P. Tahiliani <tahiliani@...k.edu.in>
> Signed-off-by: Leslie Monis <lesliemonis@...il.com>
> Signed-off-by: Gautam Ramakrishnan <gautamramk@...il.com>
What matters for structure member ordering is dense packing and
grouping commonly-used-together elements for performance.
"order of their types" are none of those things.
Powered by blists - more mailing lists