[PATCH 05/12] arm64: mm: Remove VMALLOC checks from update_mapping_prot(.)

Catalin Marinas catalin.marinas at arm.com
Wed Dec 13 08:04:32 PST 2017


On Tue, Dec 12, 2017 at 03:39:23PM +0000, Steve Capper wrote:
> It is not apparent to me how mark_linear_text_alias_ro(.) guarantees
> that no page table entries for the linear map are split, though.

map_mem() ensures that when mapped via __map_memblock(), no contiguous
entries are created. Also both ends of the _text..__init_begin would be
mapped to the granularity permitted by their alignment so that no later
splitting is necessary.

-- 
Catalin



More information about the linux-arm-kernel mailing list