Re: [PATCH 2/2] powerpc/strict_rwx: fixup region splitting
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2017-10-04 11:14:18
Balbir Singh [off-list ref] writes:
We were aggressive with splitting regions and missed the case
when _stext and __init_begin completely overlap addr and addr+mapping.
This patch fixes that case and allows us to keep the largest possible
mapping through the overlap. The patch also simplies the check
into a function
Please do the fix in one patch, which we can backport if necessary, and
then move it into a function in a separate patch.
cheers