Re: [PATCH] powerpc/hotplug: assign hot added LMB to the right node

From: Laurent Dufour
Date: Fri Dec 04 2020 - 03:13:48 EST


Le 03/12/2020 à 19:25, Greg KH a écrit :
On Thu, Dec 03, 2020 at 11:15:14AM +0100, Laurent Dufour wrote:
This patch applies to 5.9 and earlier kernels only.

Since 5.10, this has been fortunately fixed by the commit
e5e179aa3a39 ("pseries/drmem: don't cache node id in drmem_lmb struct").

Why can't we just backport that patch instead? It's almost always
better to do that than to have a one-off patch, as almost always those
have bugs in them.

That's a good option too.
I was thinking that this 5.10 patch was not matching the stable release's guidelines since it was targeting performance issue, but since it is also fixing this issue, I'm certainly wrong.

So, forget that patch.

Thanks,
Laurent.