mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] OP-TEE kernel private shared memory optimizations
@ 2023-11-08 10:27 Jens Wiklander
  2023-11-08 10:27 ` [PATCH v2 1/2] optee: add page list to kernel private shared memory Jens Wiklander
  2023-11-08 10:27 ` [PATCH v2 2/2] optee: allocate shared memory with alloc_pages_exact() Jens Wiklander
  0 siblings, 2 replies; 5+ messages in thread
From: Jens Wiklander @ 2023-11-08 10:27 UTC (permalink / raw)
  To: linux-kernel, op-tee
  Cc: Sumit Garg, Jerome Forissier, Shyam Saini, Jens Wiklander

Hi,

This patch set optimizes OP-TEE driver private shared memory allocated as
dynamic shared memory (not from the static shared memory pool). The first
patch handles kernel private RPC allocatations larger than one page and the
second changes from alloc_pages_exact() instead of alloc_pages() for more
efficient memory usage.

v1->v2:
* Split into two patches as requested

Jens Wiklander (2):
  optee: add page list to kernel private shared memory
  optee: allocate shared memory with alloc_pages_exact()

 drivers/tee/optee/core.c    | 59 +++++++++++++++++++++++++------------
 drivers/tee/optee/smc_abi.c | 45 +++++++++++++---------------
 2 files changed, 61 insertions(+), 43 deletions(-)


base-commit: 05d3ef8bba77c1b5f98d941d8b2d4aeab8118ef1
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-13 17:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-08 10:27 [PATCH v2 0/2] OP-TEE kernel private shared memory optimizations Jens Wiklander
2023-11-08 10:27 ` [PATCH v2 1/2] optee: add page list to kernel private shared memory Jens Wiklander
2023-11-10 14:36   ` Sumit Garg
2023-11-13 17:13     ` Jens Wiklander
2023-11-08 10:27 ` [PATCH v2 2/2] optee: allocate shared memory with alloc_pages_exact() Jens Wiklander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®