diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2020-03-30 12:29:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-30 19:43:42 -0700 |
commit | f87238d30c0d550553a37585d0e27a8052952bb4 (patch) | |
tree | ccecad28b0f9228849b2cedab3202ec9ce284170 /net/ipv4 | |
parent | d9679cd98516f37192376244b1c768998306bb61 (diff) | |
download | linux-stable-f87238d30c0d550553a37585d0e27a8052952bb4.tar.gz linux-stable-f87238d30c0d550553a37585d0e27a8052952bb4.tar.bz2 linux-stable-f87238d30c0d550553a37585d0e27a8052952bb4.zip |
hv_netvsc: Remove unnecessary round_up for recv_completion_cnt
The vzalloc_node(), already rounds the total size to whole pages, and
sizeof(u64) is smaller than sizeof(struct recv_comp_data). So
round_up of recv_completion_cnt is not necessary, and may cause extra
memory allocation.
To save memory, remove this unnecessary round_up for recv_completion_cnt.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions