+4
−1
Loading
hygon inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAD13S CVE: NA --------------------------- When pin_user_pages_fast pin SEV guest memory without FOLL_LONGTERM flag, the pinning pages may be in CMA area, which resulting in other applications may can't use the CMA area because the pinning pages can't be migrated. Add FOLL_LONGTERM flag to pin_user_pages_fast, which makes sure that we don't keep non_movable pages (due to page reference count) in CMA area. So CMA area can be allocated by other applications. Signed-off-by:Xin Jiang <jiangxin@hygon.cn> Signed-off-by:
hanliyang <hanliyang@hygon.cn>