[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z9MtJPNm1pLATGo7@google.com>
Date: Thu, 13 Mar 2025 19:08:20 +0000
From: Quentin Perret <qperret@...gle.com>
To: Gavin Shan <gshan@...hat.com>
Cc: kvmarm@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, maz@...nel.org,
oliver.upton@...ux.dev, joey.gouly@....com, suzuki.poulose@....com,
yuzenghui@...wei.com, catalin.marinas@....com, will@...nel.org,
shan.gavin@...il.com
Subject: Re: [PATCH] KVM: arm64: Drop sort_memblock_regions()
On Tuesday 11 Mar 2025 at 14:37:18 (+1000), Gavin Shan wrote:
> Drop sort_memblock_regions() and avoid sorting the copied memory
> regions to be ascending order on their base addresses, because the
> source memory regions should have been sorted correctly when they
> are added by memblock_add() or its variants.
>
> This is generally reverting commit a14307f5310c ("KVM: arm64: Sort
> the hypervisor memblocks"). No functional changes intended.
I think this was originally introduced in an early version of the code
where the reserved regions were also registered, hence requiring
sorting. But yes, with the code as it is today I can't see what would
break without it, so:
Reviewed-by: Quentin Perret <qperret@...gle.com>
Thanks!
Quentin
Powered by blists - more mailing lists