Re: [PATCH/RFC] of: Shrink struct of_device_id

2021-11-10 Thread Frank Rowand
Hi Geert, On 11/10/21 11:23 AM, Geert Uytterhoeven wrote: > Currently struct of_device_id is 196 (32-bit) or 200 (64-bit) bytes > large. It contains fixed-size strings for a name, a type, and a > compatible value, but the first two are barely used. > OF device ID tables contain multiple entries,

Re: [PATCH/RFC] of: Shrink struct of_device_id

2021-11-10 Thread Geert Uytterhoeven
Hi Rasmus, On Wed, Nov 10, 2021 at 5:51 PM Rasmus Villemoes wrote: > On 10/11/2021 17.23, Geert Uytterhoeven wrote: > > Currently struct of_device_id is 196 (32-bit) or 200 (64-bit) bytes > > large. It contains fixed-size strings for a name, a type, and a > > compatible value, but the first two

Re: [PATCH/RFC] of: Shrink struct of_device_id

2021-11-10 Thread Rasmus Villemoes
On 10/11/2021 17.23, Geert Uytterhoeven wrote: > Currently struct of_device_id is 196 (32-bit) or 200 (64-bit) bytes > large. It contains fixed-size strings for a name, a type, and a > compatible value, but the first two are barely used. > OF device ID tables contain multiple entries, plus an empt

[PATCH/RFC] of: Shrink struct of_device_id

2021-11-10 Thread Geert Uytterhoeven
Currently struct of_device_id is 196 (32-bit) or 200 (64-bit) bytes large. It contains fixed-size strings for a name, a type, and a compatible value, but the first two are barely used. OF device ID tables contain multiple entries, plus an empty sentinel entry. Statistics for my current kernel sou