Commit b4999fab authored by Kemeng Shi's avatar Kemeng Shi Committed by liubo
Browse files

x86: hugepage: use nt copy hugepage to AEP in x86

euleros inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7RO5Q
CVE: NA
Reference: https://gitee.com/openeuler/kernel/commit/50d5bf1b6da9f74bf93f9dec601c09d45d6d8406



-------------------------------------------------

Add proc/sys/vm/hugepage_nocache_copy switch. Set 1 to copy hugepage
with movnt SSE instructoin if cpu support it. Set 0 to copy hugepage
as usual.

Signed-off-by: default avatarKemeng Shi <shikemeng@huawei.com>
Reviewed-by: default avatarlouhongxiang <louhongxiang@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 49f8fc34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment