Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - M index
The Linux kernel configuration item CONFIG_MMAP_ALLOW_UNINITIALIZED has multiple definitions:
mm/KconfigThe configuration item CONFIG_MMAP_ALLOW_UNINITIALIZED:
CONFIG_EXPERT && ! CONFIG_MMUNormally, and according to the Linux spec, anonymous memory obtained from mmap() has its contents cleared before it is passed to userspace. Enabling this config option allows you to request that mmap() skip that if it is given an MAP_UNINITIALIZED flag, thus providing a huge performance boost. If this option is not enabled, then the flag will be ignored.
This is taken advantage of by uClibc's malloc(), and also by ELF-FDPIC binfmt's brk and stack allocator.
Because of the obvious security issues, this option should only be enabled on embedded devices where you control what is run in userspace. Since that isn't generally a problem on no-MMU systems, it is normally safe to say Y here.
See Documentation/admin-guide/mm/nommu-mmap.rst for more information.
init/KconfigThe configuration item CONFIG_MMAP_ALLOW_UNINITIALIZED:
CONFIG_EXPERT && ! CONFIG_MMUNormally, and according to the Linux spec, anonymous memory obtained from mmap() has its contents cleared before it is passed to userspace. Enabling this config option allows you to request that mmap() skip that if it is given an MAP_UNINITIALIZED flag, thus providing a huge performance boost. If this option is not enabled, then the flag will be ignored.
This is taken advantage of by uClibc's malloc(), and also by ELF-FDPIC binfmt's brk and stack allocator.
Because of the obvious security issues, this option should only be enabled on embedded devices where you control what is run in userspace. Since that isn't generally a problem on no-MMU systems, it is normally safe to say Y here.
See Documentation/admin-guide/mm/nommu-mmap.rst for more information.
Raw data from LKDDb:
(none)This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - M index
Automatically generated (in year 2025). See also LKDDb sources on GitLab