[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180813.093712.1581496475704607511.davem@davemloft.net>
Date: Mon, 13 Aug 2018 09:37:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lirongqing@...du.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH][net-next][v2] packet: switch kvzalloc to allocate
memory
From: Li RongQing <lirongqing@...du.com>
Date: Mon, 13 Aug 2018 10:42:46 +0800
> The patches includes following change:
>
> *Use modern kvzalloc()/kvfree() instead of custom allocations.
>
> *Remove order argument for alloc_pg_vec, it can get from req.
>
> *Remove order argument for free_pg_vec, free_pg_vec now uses
> kvfree which does not need order argument.
>
> *Remove pg_vec_order from struct packet_ring_buffer, no longer
> need to save/restore 'order'
>
> *Remove variable 'order' for packet_set_ring, it is now unused
>
> Signed-off-by: Zhang Yu <zhangyu31@...du.com>
> Signed-off-by: Li RongQing <lirongqing@...du.com>
Applied.
Powered by blists - more mailing lists