Re: [PATCH] efi/x86: Free efi_pgd with free_pages()

2020-11-10 Thread Ard Biesheuvel
On Tue, 10 Nov 2020 at 17:39, Arvind Sankar wrote: > > Commit > d9e9a6418065 ("x86/mm/pti: Allocate a separate user PGD") > changed the PGD allocation to allocate PGD_ALLOCATION_ORDER pages, so in > the error path it should be freed using free_pages() rather than > free_page(). > > Commit > 06

[PATCH] efi/x86: Free efi_pgd with free_pages()

2020-11-10 Thread Arvind Sankar
Commit d9e9a6418065 ("x86/mm/pti: Allocate a separate user PGD") changed the PGD allocation to allocate PGD_ALLOCATION_ORDER pages, so in the error path it should be freed using free_pages() rather than free_page(). Commit 06ace26f4e6f ("x86/efi: Free efi_pgd with free_pages()") fixed one inst