There are certain kernel parameters which can be are dynamic and can be done immediately. But in case you need to make the changes which will be effective only after the next reboot, you can make use of the -h option of kctune or kconfig.
-h option of kctune as well as kconfig help you make the changes but helps you hold them from being effective until next reboot.
If you want to see which are the changes which are held for the next reboot, you can make help of the option -d of kctune which shows the changes which are deferred. kconfig -d effectively calls the below commands
kctune -D
kcmodule -D
Where kctune -D shows the kernel config changes pending till next reboot and
kcmodule -D shows the pending module changes until the next reboot
In case you change your mind after making the changes and do not want that the kernel parameters or the configuration held for the next reboot apply at the reboot, you can get rid of the pending changes.
To do so you can use
kconfig -H
This cleans up the pending changes to be applied at the next reboot.
Please see Man 1(m) for kctune, kconfig
No comments:
Post a Comment