Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm: fix dead loop if signal pending for cma alloc task [1/1]
PD#GH-17 Problem: If a task be killed during CMA allocation, then it will abort cma allocation in function compact_unlock_should_abort. But in function aml_cma_alloc_range, it will return -EBUSY. Which cause cma allocation loop won't exit and run again and again. Solution: return -EINT for this case to exit cma allocaion loop. Verify: newman platform Change-Id: I6559bb184fc035ae68c8ccd001407767e1e22f0c Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
- Loading branch information