From: Devaraj Rangasamy <Devaraj.Rangasamy@amd.com>
To: Jeff Johnson <quic_jjohnson@quicinc.com>,
Jonathan Corbet <corbet@lwn.net>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org, "H . Peter Anvin" <hpa@zytor.com>,
Jens Wiklander <jens.wiklander@linaro.org>,
Sumit Garg <sumit.garg@linaro.org>,
"Paul E . McKenney" <paulmck@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Randy Dunlap <rdunlap@infradead.org>,
Peter Zijlstra <peterz@infradead.org>,
Steven Rostedt <rostedt@goodmis.org>,
Daniel Sneddon <daniel.sneddon@linux.intel.com>,
Rijo Thomas <Rijo-john.Thomas@amd.com>,
SivaSangeetha SK <SivaSangeetha.SK@amd.com>,
Josh Poimboeuf <jpoimboe@kernel.org>,
Juergen Gross <jgross@suse.com>, Ard Biesheuvel <ardb@kernel.org>,
Ross Lagerwall <ross.lagerwall@citrix.com>,
Yuntao Wang <ytcoode@gmail.com>,
Sean Christopherson <seanjc@google.com>,
Jarkko Nikula <jarkko.nikula@linux.intel.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
Tom Lendacky <thomas.lendacky@amd.com>,
Mario Limonciello <mario.limonciello@amd.com>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
op-tee@lists.trustedfirmware.org
Cc: Mythri PK <Mythri.Pandeshwarakrishna@amd.com>,
Nimesh Easow <Nimesh.Easow@amd.com>
Subject: Re: [PATCH v2 1/2] tee: amdtee: use page_alloc_exact() for memory allocations
Date: Mon, 23 Oct 2023 19:31:45 +0530 [thread overview]
Message-ID: <cbe9af6c-cf92-4683-b302-0fdfc9c5009b@amd.com> (raw)
In-Reply-To: <f08778aa-0e50-40aa-a1be-9cc894b2e219@quicinc.com>
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.
prev parent reply other threads:[~2023-10-23 14:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-29 20:19 [PATCH v2 1/2] tee: amdtee: use page_alloc_exact() for memory allocations Devaraj Rangasamy
2023-08-29 20:19 ` [PATCH v2 2/2] tee: amdtee: add support for CMA buffer allocations Devaraj Rangasamy
2023-10-04 10:59 ` [PATCH v2 1/2] tee: amdtee: use page_alloc_exact() for memory allocations Rijo Thomas
2023-10-04 19:09 ` Jeff Johnson
2023-10-23 14:01 ` Devaraj Rangasamy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cbe9af6c-cf92-4683-b302-0fdfc9c5009b@amd.com \
--to=devaraj.rangasamy@amd.com \
--cc=Mythri.Pandeshwarakrishna@amd.com \
--cc=Nimesh.Easow@amd.com \
--cc=Rijo-john.Thomas@amd.com \
--cc=SivaSangeetha.SK@amd.com \
--cc=ardb@kernel.org \
--cc=bp@alien8.de \
--cc=catalin.marinas@arm.com \
--cc=corbet@lwn.net \
--cc=daniel.sneddon@linux.intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=herbert@gondor.apana.org.au \
--cc=hpa@zytor.com \
--cc=jarkko.nikula@linux.intel.com \
--cc=jens.wiklander@linaro.org \
--cc=jgross@suse.com \
--cc=jpoimboe@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=mingo@redhat.com \
--cc=op-tee@lists.trustedfirmware.org \
--cc=paulmck@kernel.org \
--cc=peterz@infradead.org \
--cc=quic_jjohnson@quicinc.com \
--cc=rdunlap@infradead.org \
--cc=ross.lagerwall@citrix.com \
--cc=rostedt@goodmis.org \
--cc=seanjc@google.com \
--cc=sumit.garg@linaro.org \
--cc=tglx@linutronix.de \
--cc=thomas.lendacky@amd.com \
--cc=x86@kernel.org \
--cc=ytcoode@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox