Re: [PATCH 01/11] x86/mm/pat: Don't free PGD entries on memory unmap

Linus Torvalds
2015-09-22T17:41:23Z

On Mon, Sep 21, 2015 at 11:23 PM, Ingo Molnar <mingo@kernel.org> wrote:
>
> This complicates PGD management, so don't do this. We can keep the
> PGD mapped and the PUD table all clear - it's only a single 4K page
> per 512 GB of memory mapped.

I'm ok with this just from a "it removes code" standpoint. That said,
some of the other patches here make me go "hmm". I'll answer them
separately.

Linus