mirror of
https://abf.rosa.ru/djam/kernel-6.7-xanmod.git
synced 2025-02-24 17:42:49 +00:00
5.19.1-xanmod1
This commit is contained in:
parent
58a8b4e909
commit
01ed33507c
1 changed files with 4 additions and 4 deletions
|
@ -903,12 +903,12 @@ echo '# CONFIG_DEBUG_INFO is not set' >> %{build_dir}/.config.append
|
||||||
# Estimated performance impact is described in the commit
|
# Estimated performance impact is described in the commit
|
||||||
# "Fill newly allocated pages and heap objects with zeroes."
|
# "Fill newly allocated pages and heap objects with zeroes."
|
||||||
# To enable, add to cmdline: init_on_alloc=1
|
# To enable, add to cmdline: init_on_alloc=1
|
||||||
sed -i '/CONFIG_INIT_ON_ALLOC_DEFAULT_ON/d' .config
|
####sed -i '/CONFIG_INIT_ON_ALLOC_DEFAULT_ON/d' .config
|
||||||
echo CONFIG_INIT_ON_ALLOC_DEFAULT_ON=n >> %{build_dir}/.config.append
|
####echo CONFIG_INIT_ON_ALLOC_DEFAULT_ON=n >> %{build_dir}/.config.append
|
||||||
# "Fill freed pages and heap objects with zeroes"
|
# "Fill freed pages and heap objects with zeroes"
|
||||||
# To disable, add to cmdline: init_on_free=0
|
# To disable, add to cmdline: init_on_free=0
|
||||||
sed -i '/CONFIG_INIT_ON_FREE_DEFAULT_ON/d' .config
|
####sed -i '/CONFIG_INIT_ON_FREE_DEFAULT_ON/d' .config
|
||||||
echo CONFIG_INIT_ON_FREE_DEFAULT_ON=n >> %{build_dir}/.config.append
|
####echo CONFIG_INIT_ON_FREE_DEFAULT_ON=n >> %{build_dir}/.config.append
|
||||||
|
|
||||||
# Here enabling only either only init_on_free or only init_on_alloc
|
# Here enabling only either only init_on_free or only init_on_alloc
|
||||||
# makes sense; init_on_alloc is not about protecting information.
|
# makes sense; init_on_alloc is not about protecting information.
|
||||||
|
|
Loading…
Add table
Reference in a new issue