Re: [PATCH] mm: use in_task() in __gfp_pfmemalloc_flags()

From: Andrew Morton
Date: Mon Aug 09 2021 - 14:24:52 EST


On Mon, 9 Aug 2021 11:23:29 +0300 Vasily Averin <vvs@xxxxxxxxxxxxx> wrote:

> obsoleted in_interrupt() include task context with disabled BH,
> it's better to use in_task() instead.

Are these just blind conversions, or have you verified in each case
that it is correct to newly take these code paths inside
local_bh_disable()?

If "yes" then please provide the reasoning in each changelog?