[PATCH v1 0/2] Add changes for cached buffer and persistent header buffers

From: Ekansh Gupta
Date: Fri Jun 09 2023 - 06:43:11 EST


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