lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 22 Sep 2019 15:31:32 -0700 From: Jakub Kicinski <jakub.kicinski@...ronome.com> To: Thierry Reding <thierry.reding@...il.com> Cc: "David S . Miller" <davem@...emloft.net>, Giuseppe Cavallaro <peppe.cavallaro@...com>, Alexandre Torgue <alexandre.torgue@...com>, Jose Abreu <joabreu@...opsys.com>, Florian Fainelli <f.fainelli@...il.com>, Jon Hunter <jonathanh@...dia.com>, Bitan Biswas <bbiswas@...dia.com>, netdev@...r.kernel.org, linux-tegra@...r.kernel.org Subject: Re: [PATCH] net: stmmac: Fix page pool size On Fri, 20 Sep 2019 19:01:27 +0200, Thierry Reding wrote: > From: Thierry Reding <treding@...dia.com> > > The size of individual pages in the page pool in given by an order. The > order is the binary logarithm of the number of pages that make up one of > the pages in the pool. However, the driver currently passes the number > of pages rather than the order, so it ends up wasting quite a bit of > memory. > > Fix this by taking the binary logarithm and passing that in the order > field. > > Signed-off-by: Thierry Reding <treding@...dia.com> Since this is a fix could we get a Fixes tag pointing to the commit which introduced the regression?
Powered by blists - more mailing lists