diff options
author | Taehee Yoo <ap420073@gmail.com> | 2021-06-13 14:43:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-14 12:46:00 -0700 |
commit | ffa85b73c3c4143a8e8087c0930f6c5a6ead8e9f (patch) | |
tree | aee0d324858e9d967861a85b6d1033731de624df /drivers/net/ethernet/micrel | |
parent | b84b53ee8337ca69512d25295961571fa08a219d (diff) | |
download | lwn-ffa85b73c3c4143a8e8087c0930f6c5a6ead8e9f.tar.gz lwn-ffa85b73c3c4143a8e8087c0930f6c5a6ead8e9f.zip |
mld: avoid unnecessary high order page allocation in mld_newpack()
If link mtu is too big, mld_newpack() allocates high-order page.
But most mld packets don't need high-order page.
So, it might waste unnecessary pages.
To avoid this, it makes mld_newpack() try to allocate order-0 page.
Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/micrel')
0 files changed, 0 insertions, 0 deletions