Re: [PATCH][net-next][v2] packet: switch kvzalloc to allocate memory

2018-08-13 Thread David Miller
From: Li RongQing 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

[PATCH][net-next][v2] packet: switch kvzalloc to allocate memory

2018-08-12 Thread Li RongQing
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 s