[Devel] [PATCH rh7 1/2] mm: introduce kvmalloc_check() for safe calls to kvmalloc()

Andrey Ryabinin aryabinin at virtuozzo.com
Wed Mar 21 20:05:02 MSK 2018



On 03/21/2018 02:11 PM, Konstantin Khorenko wrote:
> Sometimes a function which allocates high order pages is called with different
> flags while kvmalloc() should be called with at least GFP_KERNEL.
> 
> kvmalloc_check() function uses kvmalloc() when possible depending on flags
> provided.
> 
> https://jira.sw.ru/browse/PSBM-82593
> 
> Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>

Reviewed-by: Andrey Ryabinin <aryabinin at virtuozzo.com>



More information about the Devel mailing list