[PATCH] mm: support __GFP_REPEAT in kvmalloc_node

From: Michal Hocko
Date: Wed Jan 04 2017 - 13:12:50 EST


While checking opencoded users I've encountered that vhost code would
really like to use kvmalloc with __GFP_REPEAT [1] so the following patch
adds support for __GFP_REPEAT and converts both vhost users.

So currently I am sitting on 3 patches. I will wait for more feedback -
especially about potential split ups or cleanups few more days and then
repost the whole series.

[1] http://lkml.kernel.org/r/20170104150800.GO25453@xxxxxxxxxxxxxx
---