Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

script/check-config.sh: fixes for cgroupv2 and v5.x kernels #2729

Merged
merged 5 commits into from
Jan 28, 2021

Commits on Jan 11, 2021

  1. script/check-config.sh: support for cgroupv2

    Before:
    
    > Generally Necessary:
    > - cgroup hierarchy: nonexistent??
    >     (see https://github.com/tianon/cgroupfs-mount)
    
    After:
    
    > Generally Necessary:
    > - cgroup hierarchy: cgroupv2
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    91eba84 View commit details
    Browse the repository at this point in the history
  2. script/check-config.sh: fix NF_NAT_IPV4

    CONFIG_NF_NAT_IPV4 was removed in kernel commit 3bf195ae6037e310,
    which made its way into v5.1-rc1. The functionality is now under
    NF_NAT which we already check for.
    
    Make the check for NF_NAT_IPV4 conditional.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    483abaa View commit details
    Browse the repository at this point in the history
  3. script/check-config.sh: fix NF_NAT_NEEDED

    CONFIG_NF_NAT_NEEDED was removed in kernel commit 4806e975729f99c7,
    which made its way into v5.2-rc1. The functionality is now under
    NF_NAT which we already check for.
    
    Make the check for NF_NAT_NEEDED conditional.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    ecb9d73 View commit details
    Browse the repository at this point in the history
  4. script/check-config.sh: fix MEMCG_SWAP_ENABLED

    Kernel commit 2d1c498072de69e (which made its way into kernel v5.8-rc1)
    removed CONFIG_MEMCG_SWAP_ENABLED Kconfig option, making swap accounting
    always enabled (unless swapaccount=0 boot option is provided).
    
    Make the check conditional.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    1a00cd8 View commit details
    Browse the repository at this point in the history
  5. script/check-config.sh: fix IOSCHED_CFQ CFQ_GROUP_IOSCHED

    These config options are removed by kernel commit f382fb0bcef4,
    which made its way into kernel v5.0-rc1.
    
    Make the check conditional.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    b3cf483 View commit details
    Browse the repository at this point in the history