Userfault只支持匿名页,hugetlb、共享内存; 一、软件流程 1 初始化 调用__NR_userfaultfd syscall初始化 调用syscall初始化建立匿名inode文件,并初始化file->private_data,并返回用户态文件fd。 用户态: uffd = syscall(__NR_userfaultfd, O_CLOEXE...
Cheng Luo
Cancel
Kernel userfaultfd
numad systemctl start failed
1 systemct start failed 1、R9 x86环境systemctl启动失败 ● numad.service - numad - The NUMA daemon that manages application locality. Loaded: loaded (/usr/lib/systemd/system/numad.service; disabled; ven...
Kernel Probe (kprobe)
1 kprobe 2 debugfs kprobe trace kprobe trace 使用debugfs的trace功能 p[:[GRP/]EVENT] [MOD:]SYM[+offs]|MEMADDR [FETCHARGS] : Set a probe r[MAXACTIVE][:[GRP/]EVENT] [MOD:]SYM[+0] [FETCHARGS] : Set a r...
The Kernel Concurrency Sanitizer (KCSAN)
1 kcasan 2 使用