Re: [PATCH] mm/vmalloc: Use batched page requests in bulk-allocator

From: Matthew Wilcox
Date: Mon Jul 05 2021 - 11:38:32 EST


On Mon, Jul 05, 2021 at 04:55:47PM +0200, Uladzislau Rezki (Sony) wrote:
> + if (gfpflags_allow_blocking(gfp))
> + cond_resched();

How does one call vmalloc() with gfp flags that _don't_ allow blocking?
They have to allow a GFP_KERNEL allocation of the page tables.
So I think this should be an unconditional cond_resched().