|
Message-ID: <CAJHCu1LB1wPErEB0xNd_9=_8dmOn=VFXmzu=-U5Eg3zTeT4b6g@mail.gmail.com> Date: Wed, 14 Mar 2018 13:48:10 +0100 From: Salvatore Mesoraca <s.mesoraca16@...il.com> To: David Laight <David.Laight@...lab.com> Cc: Vivien Didelot <vivien.didelot@...oirfairelinux.com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Kernel Hardening <kernel-hardening@...ts.openwall.com>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "David S. Miller" <davem@...emloft.net>, Andrew Lunn <andrew@...n.ch>, Florian Fainelli <f.fainelli@...il.com>, Kees Cook <keescook@...omium.org> Subject: Re: [PATCH] net: dsa: drop some VLAs in switch.c 2018-03-14 12:24 GMT+01:00 David Laight <David.Laight@...lab.com>: > Isn't using DECLARE_BITMAP() completely OTT when the maximum size is less > than the number of bits in a word? It allocates ceiling(size/8) "unsigned long"s, so yes.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.