[PATCH v2 1/2] arm64: vmemmap: use virtual projection of linear region
Robert Richter
robert.richter at caviumnetworks.com
Wed Mar 9 03:36:38 PST 2016
On 09.03.16 12:32:14, Robert Richter wrote:
> On 08.03.16 17:31:05, Ard Biesheuvel wrote:
> > On 8 March 2016 at 09:15, Ard Biesheuvel <ard.biesheuvel at linaro.org> wrote:
> > I managed to reproduce and diagnose this. The problem is that vmemmap
> > is no longer zone aligned, which causes trouble in the zone based
> > rounding that occurs in memory_present. The below patch fixes this by
> > rounding down the subtracted offset. Since this implies that the
> > region could stick off the other end, it also reverts the halving of
> > the region size.
>
> I have seen the same panic. The fix solves the problem. See enclosed
> diff for reference as there was some patch corruption of the original.
So this is:
Tested-by: Robert Richter <rrichter at cavium.com>
-Robert
More information about the linux-arm-kernel
mailing list