diff options
author | Taehee Yoo <ap420073@gmail.com> | 2021-06-13 17:43:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-14 22:46:00 +0300 |
commit | ffa85b73c3c4143a8e8087c0930f6c5a6ead8e9f (patch) | |
tree | aee0d324858e9d967861a85b6d1033731de624df /include | |
parent | b84b53ee8337ca69512d25295961571fa08a219d (diff) | |
download | linux-ffa85b73c3c4143a8e8087c0930f6c5a6ead8e9f.tar.xz |
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 'include')
0 files changed, 0 insertions, 0 deletions