Re: [PATCH] MIPS: pgalloc: fix memory leak caused by pgd_free()

From: Maciej W. Rozycki
Date: Tue Apr 05 2022 - 18:55:06 EST


On Tue, 5 Apr 2022, Thomas Bogendoerfer wrote:

> > NB I think it has to be backported to all the stable branches made since
> > the original breakage; i.e. v5.9+ (I haven't kept track of what they are).
>
> the fix has a Fixes tag so it will usually ported to stable/longterm kernels.
> I already saw it in Greg's patch bombs.

Hmm, not all fixes qualify for or indeed are worth backporting and I'd
expect those that have no stable annotation to remain on trunk only. I
have been following this principle with my submissions anyway.

Indeed I can see a backport to 5.17 has literally just been posted in
this humongous patch set, but in this case I suspect Greg has just picked
this up by hand (thanks, Greg!) having seen this discussion (though how he
manages to escape alive through the flood of messages has been astonishing
me).

Maciej