Jump to content

[Armbian build PR] - bootscript: Remove deprecated bootarg "swapaccount=1"


RSS Bot

Recommended Posts

Description

The "swapaccount=" option has been deprecated in 6.1. Disable it in almost all boot scripts except "boot-sun50iw9.cmd" since that one is used in sun50iw9 legacy kernel, which is version 4.9.

In theory, rk3588-legacy is also still <6.1, but that boot script is also used by 6.1 vendor kernel and the amount of new images being built/used with the 5.10 legacy kernel is likely minimal. As far as I know, bootscript won't update automatically, so these changes will only apply to freshly built images. Please correct me if I'm wrong.

Link to kernel commit: https://github.com/torvalds/linux/commit/b25806dcd3d5248833f7d2544ee29a701735159f

Closes issue https://github.com/armbian/build/issues/6633


Also, there are other kernel parameters, e.g.:

  • cgroup_enable=cpuset
  • cgroup_memory=1
  • cgroup_enable=memory

https://github.com/armbian/build/blob/d7db1cd26b926bff2b19193f6de30dbc1910aa20/config/bootscripts/boot-rockchip64.cmd#L42

I couln't find out why cgroup_enable= is added here. The official kernel parameters doc (https://github.com/torvalds/linux/blob/master/Documentation/admin-guide/kernel-parameters.txt) only lists a cgroup_disable= option. Maybe this is some relic of the past? Does anyone know?`

Is there a way to find out on a live kernel what the boot arguments actually did?

Jira reference number AR-2321

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines