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

Skip to content
Commit 5378f8d1 authored by Yue Ma's avatar Yue Ma
Browse files

arm64: Fix leak issue when free DMA memory



In __free_from_pool() function the count calculation does not use
alligned page size so that the calculated page count is incorrect.
This results that the page bit will not be set to zero when free
that page which will cause the bitmap leak and makes DMA allocation
running out of bitmap.

Change-Id: Ic7f1b0b01ed13b7b53d3e3249f94dd0654a1260c
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 38fb8d37
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