Disabling Linux kernel page zeroing
by sgeorgiou from LinuxQuestions.org on (#4TFMR)
Hi,
I am trying to disable the kernel's page/memory zeroing in order to gain performance in a safe environment (experimental purpose) while utilizing applications that make heavy use of malloc operation. I have found some function in the kernel's source code such as free_pages_prepare, however, when disabling the associated function or memset (e.g., kernel_poison_pages-> ... -> poison_page ) it crushed the kernel on boot time. Any idea or hints on how I can do that?
Thanks in advance,
Stefanos


I am trying to disable the kernel's page/memory zeroing in order to gain performance in a safe environment (experimental purpose) while utilizing applications that make heavy use of malloc operation. I have found some function in the kernel's source code such as free_pages_prepare, however, when disabling the associated function or memset (e.g., kernel_poison_pages-> ... -> poison_page ) it crushed the kernel on boot time. Any idea or hints on how I can do that?
Thanks in advance,
Stefanos