Re: [Devel] [PATCH 2/2] vznetstat: Convert some kmalloc()/kfree() to __vmalloc()/vfree()

2017-12-20 Thread Andrey Ryabinin
On 12/19/2017 03:25 PM, Kirill Tkhai wrote: > Let's use virtually continuos pages instead of physically continuos > as it's easier to allocate them. > > Also, add __GFP_NOWARN to not disturb a user in case of ENOMEM. > > https://jira.sw.ru/browse/PSBM-79502 > > Signed-off-by: Kirill Tkhai > -

[Devel] [PATCH 2/2] vznetstat: Convert some kmalloc()/kfree() to __vmalloc()/vfree()

2017-12-19 Thread Kirill Tkhai
Let's use virtually continuos pages instead of physically continuos as it's easier to allocate them. Also, add __GFP_NOWARN to not disturb a user in case of ENOMEM. https://jira.sw.ru/browse/PSBM-79502 Signed-off-by: Kirill Tkhai --- kernel/ve/vznetstat/vznetstat.c | 25 -