5.19.1-xanmod1

This commit is contained in:
Sergey 2022-08-15 05:36:34 +00:00
parent 58a8b4e909
commit 01ed33507c

View file

@ -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.