Skip to content

Commit

Permalink
Avoid userspace allocation for add pages request
Browse files Browse the repository at this point in the history
For add pages request, the capability of kernel to allocate
memory is checked using is_kernel_alloc_supported call. On
newer kernel, this call is expected to always return true.
With changes to use new interface file for QLI, this call
is not returning true which is causing add pages request failure.

Signed-off-by: Bharath Kumar V <[email protected]>
  • Loading branch information
quic-bkumar committed Jul 30, 2024
1 parent 2b16ab1 commit 0fba5f8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions inc/fastrpc_apps_user.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@
#define __CONSTRUCTOR_ATTRIBUTE__ __attribute__((constructor))
#endif

/*
* API to check if kernel supports remote memory allocation
* Returns 0 if NOT supported
*
*/
int is_kernel_alloc_supported(int dev, int domain);

/*
* API to initialize rpcmem data structures for ION allocation
*/
Expand Down

0 comments on commit 0fba5f8

Please sign in to comment.