Re: [PATCH] x86/mm: Create an SME workarea in the kernel for early encryption

From: Dave Hansen
Date: Wed Jun 12 2019 - 11:05:17 EST


On 6/12/19 6:32 AM, Lendacky, Thomas wrote:
> Create a section for SME in the vmlinux.lds.S. Position it after "_end"
> so that the memory will be reclaimed during boot and, since it is all
> zeroes, it compresses well.

I don't think I realized that things after _end get reclaimed. Do we do
that at the same spot that we do init data or somewhere else?

How much does compressing 8MB of zeros slow down my kernel compile? ;)