Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 02b55e43 authored by Olav Haugan's avatar Olav Haugan Committed by Stephen Boyd
Browse files

arm: handle discontig page struct between sections



If SPARSEMEM is enabled and there is a large amount of
memory, the page structures for the various sections
may not be contiguous. The code to traverse all of the
page structures in show_mem() was incorrectly assuming
all of the page structures were contiguous, causing
kernel panics in this case.

CRs-fixed: 315006
Change-Id: I5e9437c369d23f1513c73feb46623006561d15cf
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
(cherry picked from commit ea5a90bd710a2276183bc6df8eb4a0246746b8a6)
parent 5bf604af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment