接前一篇文章:Linux内核中内存管理相关配置项的详细解析13
三十一、Anonymous VMA name support
对应配置变量为:CONFIG_ANON_VMA_NAME。
此项只有选中和不选中两种状态,默认为不选中。
此项的内核源码详细解释为:
Allow naming anonymous virtual memory areas.
This feature allows assigning names to virtual memory areas. Assigned
names can be later retrieved from /proc/pid/maps and /proc/pid/smaps
and help identifying individual anonymous memory areas.
Assigning a name to anonymous virtual memory area might prevent that
area from being merged with adjacent virtual memory areas due to the
difference in their name.
允许命名匿名虚拟内存区域。
此特性允许为虚拟内存区域分配名称。指定的名称可以之后从/proc/pid/maps和/proc/pid/smaps检索,并且帮助识别各个匿名内存区域。
为匿名虚拟内存区域分配名称可以会阻止该区域由于名称不同而与相邻的虚拟内存区域合并。
三十二、Enable userfaultfd() system call
对应配置变量为:CONFIG_USERFAULTFD。
此项只有选中和不选中两种状态,默认为选中。
此项的内核源码详细解释为:
Enable the userfaultfd() system call that allows to intercept and
handle page faults in userland.
使能userfaultfd()系统调用,该调用允许拦截和处理用户区域中的页面错误。