Re: [PATCH v2 1/2] tee: amdtee: use page_alloc_exact() for memory allocations

From: Jeff Johnson
Date: Wed Oct 04 2023 - 15:12:53 EST


On 8/29/2023 1:19 PM, Devaraj Rangasamy wrote:> Use page_alloc_exact() to get buffers, instead of
get_free_pages(), so as to avoid wastage of memory.
Currently get_free_pages() is allocating at next order,
while page_alloc_exact() will free the unused pages.

s/page_alloc_exact()/alloc_pages_exact()/ everywhere including subject to match the actual code change?