Re: [PATCH 3/3] mm/vma: Make is_vma_temporary_stack() available for general use

From: Vlastimil Babka
Date: Wed Feb 26 2020 - 09:03:20 EST


On 2/26/20 5:50 AM, Anshuman Khandual wrote:
> Currently the declaration and definition for is_vma_temporary_stack() are
> scattered. Lets make is_vma_temporary_stack() helper available for general
> use and also drop the declaration from (include/linux/huge_mm.h) which is
> no longer required. This should not cause any functional change.
>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Cc: linux-mm@xxxxxxxxx
> Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>

The move made it plainly visible that the is_vma_* name differs from all the
other vma_is_* names. So this is a good chance to unify it?

Thanks,
Vlastimil