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:
Dinesh K Garg <dineshg@codeaurora.org>
Loading
Please register or sign in to comment