Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Add changes for cached buffer and persistent header buffers
@ 2023-06-09 10:39 Ekansh Gupta
  2023-06-09 10:39 ` [PATCH v1 1/2] misc: fastrpc: Add cached buffer support Ekansh Gupta
  2023-06-09 10:39 ` [PATCH v1 2/2] misc: fastrpc: Add persistent header " Ekansh Gupta
  0 siblings, 2 replies; 5+ messages in thread
From: Ekansh Gupta @ 2023-06-09 10:39 UTC (permalink / raw)
  To: srinivas.kandagatla, linux-arm-msm
  Cc: Ekansh Gupta, ekangupt, gregkh, linux-kernel, fastrpc.upstream,
	quic_anane

This patch series carries changes to reduce RPC call overhead by
skippikng DMA API allocation calls for all type of buffer allocation
requests.

Cached buffer support enables caching of allocated buffers
instead of freeing which can be reused for any new request.

Persistent header buffer changes allocated a number for header
buffers during CDSP process initialization which is then used
for remote calls by the process.

When any process make a remote call, the metadata buffer is first
tried to be used from allocated persistent header buffers. If due
to any reason, persistent header buffers are not available, the
allocation request falls back to cached buffers and allocations
using DMA API.

Ekansh Gupta (2):
  misc: fastrpc: Add cached buffer support
  misc: fastrpc: Add persistent header buffer support

 drivers/misc/fastrpc.c      | 348 ++++++++++++++++++++++++++++++++++++--------
 include/uapi/misc/fastrpc.h |   8 +
 2 files changed, 295 insertions(+), 61 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2023-06-12 12:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-09 10:39 [PATCH v1 0/2] Add changes for cached buffer and persistent header buffers Ekansh Gupta
2023-06-09 10:39 ` [PATCH v1 1/2] misc: fastrpc: Add cached buffer support Ekansh Gupta
2023-06-12 12:55   ` Srinivas Kandagatla
2023-06-09 10:39 ` [PATCH v1 2/2] misc: fastrpc: Add persistent header " Ekansh Gupta
2023-06-09 18:13   ` kernel test robot

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