__GFP_REPEAT usage in fq_alloc_node

From: Michal Hocko
Date: Fri Jan 06 2017 - 10:21:06 EST


Hi Eric,
I am currently checking kmalloc with vmalloc fallback users and convert
them to a new kvmalloc helper [1]. While I am adding a support for
__GFP_REPEAT to kvmalloc [2] I was wondering what is the reason to use
__GFP_REPEAT in fq_alloc_node in the first place. c3bd85495aef
("pkt_sched: fq: more robust memory allocation") doesn't mention
anything. Could you clarify this please?

Thanks!

[1] http://lkml.kernel.org/r/20170102133700.1734-1-mhocko@xxxxxxxxxx
[2] http://lkml.kernel.org/r/20170104181229.GB10183@xxxxxxxxxxxxxx
--
Michal Hocko
SUSE Labs