-
由 Liu Zixian 提交于
euleros inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4X1VR CVE: NA ------------ Copy file content to huge page during hugetlb memory fault. The file is recorded in vm_area_struct (used 1 reserved member). Gdb and perf needs file name to resolve symbols, so we use the recorded file in procfs and perf record. Glibc can use this feature to load libraries into huge pages, so add MAP_FILE_HUGETLB to mmap syscall. Signed-off-by: NLiu Zixian <liuzixian4@huawei.com> Reviewed-by: NZhou Kang <zhoukang7@huawei.com> Reviewed-by: NKefeng Wang <wangkefeng.wang@huawei.com>
1af4fa6d