+4
−2
Loading
Sunway inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB73UR -------------------------------- In sw64 architecture, 512M hugepage consist of 64 consecutive 8M hugepages. Therefore, at the time of unmapping, we should get the address of the next 512M hugepage. Current code get the address of the next 8M hugepage, it will be out of range when we unmap the page, so we fix it. Signed-off-by:Lei Yilong <leiyilong@wxiat.com> Reviewed-by:
He Sheng <hesheng@wxiat.com> Signed-off-by:
Gu Zitao <guzitao@wxiat.com>