lkml.org 
[lkml]   [2023]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 1/2] tee: amdtee: use page_alloc_exact() for memory allocations
From

On 10/5/2023 12:39 AM, Jeff Johnson wrote:
> 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?

Ack. Thanks for the catching this.

While I could send an updated patch taking care of this, we are working
on a rearchitected patch, due to a new requirement.

Kindly abandon this patch series, and we will be posting new support
soon to the community.

\
 
 \ /
  Last update: 2023-10-23 16:04    [W:0.066 / U:2.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site