Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

From: Andrew Morton
Date: Tue Oct 16 2018 - 19:16:48 EST


On Tue, 16 Oct 2018 19:11:49 -0400 Andrea Arcangeli <aarcange@xxxxxxxxxx> wrote:

> This was a severe regression
> compared to previous kernels that made important workloads unusable
> and it starts when __GFP_THISNODE was added to THP allocations under
> MADV_HUGEPAGE. It is not a significant risk to go to the previous
> behavior before __GFP_THISNODE was added, it worked like that for
> years.

5265047ac301 ("mm, thp: really limit transparent hugepage allocation to
local node") was April 2015. That's a long time for a "severe
regression" to go unnoticed?