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

Kees Cook keescook at chromium.org
Wed Feb 14 19:35:54 UTC 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
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Linux-security-module-archive mailing list