Thread (6 messages) 6 messages, 2 authors, 2017-10-16

Re: [PATCH 2/2] powerpc/strict_rwx: fixup region splitting

From: Balbir Singh <bsingharora@gmail.com>
Date: 2017-10-16 01:03:30

On Wed, 04 Oct 2017 22:14:17 +1100
Michael Ellerman [off-list ref] wrote:
Balbir Singh [off-list ref] writes:
quoted
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.
I've tried for a while now, although this looks like its touching more
code, this is more elegant. Anything else involves changing the two
if conditions almost identically.

Balbir Singh.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help