[Intel-gfx] [PATCH 04/65] mm: Extract might_alloc() debug check

Matthew Wilcox willy at infradead.org
Fri Oct 23 14:16:19 UTC 2020


On Fri, Oct 23, 2020 at 02:21:15PM +0200, Daniel Vetter wrote:
> Note that unlike fs_reclaim_acquire/release gfpflags_allow_blocking
> does not consult the PF_MEMALLOC flags. But there is no flag
> equivalent for GFP_NOWAIT, hence this check can't go wrong due to
> memalloc_no*_save/restore contexts.

I have a patch series that adds memalloc_nowait_save/restore.

https://lore.kernel.org/linux-mm/20200625113122.7540-7-willy@infradead.org/


More information about the Intel-gfx mailing list