Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5548731e authored by Dinesh K Garg's avatar Dinesh K Garg Committed by Gerrit - the friendly Code Review server
Browse files

md: dm-req-crypt: Pool based mechanism to manage crypto data



Currently, dm-req-crypt dynamically allocates memory equivalent to
1024 scatterlists which could be present in request coming from
block layer. In order perform crypto operation on request, dm-req-crypt
allocates and frees memory every request. This mechanism can be improved
by using mempool based approach.

Change-Id: I45f75551fb39b2af1476647a39951172caecd724
Signed-off-by: default avatarDinesh K Garg <dineshg@codeaurora.org>
parent 986b7987
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment