Re: [PATCH 1/1] arch/arm/mm: fix major fault accounting when retrying under per-VMA lock

From: Andrew Morton
Date: Thu Jan 25 2024 - 21:04:43 EST


On Mon, 22 Jan 2024 22:43:05 -0800 Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote:

> The change [1] missed ARM architecture when fixing major fault accounting
> for page fault retry under per-VMA lock. Add missing code to fix ARM
> architecture fault accounting.
>
> [1] 46e714c729c8 ("arch/mm/fault: fix major fault accounting when retrying under per-VMA lock")
>
> Fixes: 12214eba1992 ("mm: handle read faults under the VMA lock")

What are the userspace-visible runtime effects of this change?

Is a cc:stable backport desirable?

> Reported-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx>
> Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>