[linux-yocto] [kernel-cache][PATCH] housekeeping: remove Kconfigs which no longer exist in the kernel

Mark Asselstine mark.asselstine at windriver.com
Wed Jan 9 13:25:13 PST 2019


While working with meta-virtualization I was cleaning up build
warnings:
        WARNING: linux-yocto-4.18.21+gitAUTOINC+9e348b6f9d_db2d813869-r0
        do_kernel_configcheck: [kernel config]: This BSP sets config
        options that are not offered anywhere within this kernel:

        CONFIG_EXT3_FS_XATTR
        CONFIG_RESOURCE_COUNTERS
        CONFIG_CGROUP_MEM_RES_CTLR
        CONFIG_CLS_CGROUP
        CONFIG_NETPRIO_CGROUP
        CONFIG_DEVPTS_MULTIPLE_INSTANCES

Most of these were coming from a configuration fragment included in
meta-virtualization but some are also found here in the
kernel-cache. So while I had the history handy to complete the commit
for meta-virtualization I thought it best to do similar cleanup
here. The follow 3 kconfigs have been removed from the kernel-cache,
per the provided rationale.

CONFIG_DEVPTS_MULTIPLE_INSTANCES removed since kernel v4.7 via mainline
commit eedf265aa003b4781de24cfed40a655a664457e6

CONFIG_EXT3_FS_XATTR was revoved since kernel v4.3 via mainline
commit c290ea01abb7907fde602f3ba55905ef10a37477

CONFIG_RESOURCE_COUNTERS gone since kernel v3.19 via mainline
commit 5b1efc027c0b51ca3e76f4e00c83358f8349f543.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---

This set of changes was put together while I had the details handy as
I was doing some kconfig cleanup in meta-virtualization. I know that
there might be reasons to not merge these into the kernel-cache as
older kernels might still be needed to be generated with the
kernel-cache. At any rate I had the information handy and these could
be applied to the 4.19/dev kernel directly, by sending it out the
information is available for anyone looking.


 cfg/fs/ext3.cfg              | 1 -
 features/cgroups/cgroups.cfg | 3 ---
 features/lxc/lxc.cfg         | 1 -
 3 files changed, 5 deletions(-)

diff --git a/cfg/fs/ext3.cfg b/cfg/fs/ext3.cfg
index a57165f..05ef837 100644
--- a/cfg/fs/ext3.cfg
+++ b/cfg/fs/ext3.cfg
@@ -1,4 +1,3 @@
 CONFIG_EXT3_FS=y
-CONFIG_EXT3_FS_XATTR=y
 CONFIG_EXT3_FS_POSIX_ACL=y
 CONFIG_EXT3_FS_SECURITY=y
diff --git a/features/cgroups/cgroups.cfg b/features/cgroups/cgroups.cfg
index ac77da0..5e42c8e 100644
--- a/features/cgroups/cgroups.cfg
+++ b/features/cgroups/cgroups.cfg
@@ -2,9 +2,6 @@
 CONFIG_CGROUPS=y
 CONFIG_CGROUP_DEBUG=y 
 
-# Resource controller
-CONFIG_RESOURCE_COUNTERS=y
-
 CONFIG_CGROUP_FREEZER=y
 CONFIG_CGROUP_DEVICE=y
 CONFIG_CPUSETS=y
diff --git a/features/lxc/lxc.cfg b/features/lxc/lxc.cfg
index 740b800..76c39ed 100644
--- a/features/lxc/lxc.cfg
+++ b/features/lxc/lxc.cfg
@@ -1,5 +1,4 @@
 # Misc configs
 CONFIG_VETH=y
-CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
 CONFIG_MM_OWNER=y
 CONFIG_MACVLAN=y
-- 
2.7.4



More information about the linux-yocto mailing list