arm64 physmap (was Re: [kernel-hardening] [PATCH 4/6] Protectable Memory)

Kees Cook keescook at chromium.org
Wed Feb 14 11:35:54 PST 2018


On Wed, Feb 14, 2018 at 11:29 AM, Kees Cook <keescook at chromium.org> wrote:
> Why does using finer granularity on the physmap degrade performance? I
> assume TLB pressure, but what is heavily using that area? (I must not
> be understanding what physmap actually gets used for -- I thought it
> was just a convenience to have a 1:1 virt/phys map for some lookups?)

Jann has sorted me out: it's that physmap isn't an _alias_ for the
buddy allocator memory areas; it's used directly.

-Kees

-- 
Kees Cook
Pixel Security



More information about the linux-arm-kernel mailing list