aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2023-04-24 22:28:44 -0700
committerTony Ambardar <itugrok@yahoo.com>2023-05-03 10:26:17 -0700
commit3d66f551611de37b88182c64efa091298a9e7f2c (patch)
tree9186ba669b95da45e15d7e20f3d1e3f9b1ce742d /target/linux/x86
parent3980dfcd05741bd650d0e3d0938bfd071ffa7824 (diff)
downloadupstream-3d66f551611de37b88182c64efa091298a9e7f2c.tar.gz
upstream-3d66f551611de37b88182c64efa091298a9e7f2c.tar.bz2
upstream-3d66f551611de37b88182c64efa091298a9e7f2c.zip
kernel: improve handling of CONFIG_IO_URING
Kernel setting CONFIG_IO_URING supports high-performance I/O for file access and servers, generally for more performant platforms, and adds ~45 KB to kernel sizes. The need for this on less "beefy" devices is questionable, as is the size cost considering many platforms have kernel size limits which require tricky repartitioning if outgrown. The size cost is also large relative to the ~180 KB bump expected between major OpenWRT kernel releases. No OpenWrt packages have hard dependencies on this; samba4 and mariadb can take advantage if available (+KERNEL_IO_URING:liburing) but otherwise build and work fine. Since CONFIG_IO_URING is already managed via the KERNEL_IO_URING setting in Config-kernel.in (default Y), remove it from those target configs which unconditionally enable it, and update the defaults to enable it conditionally only on more powerful 64-bit x86 and arm devices. It may still be manually enabled as needed for high-performance custom builds. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'target/linux/x86')
-rw-r--r--target/linux/x86/config-5.101
-rw-r--r--target/linux/x86/config-5.151
2 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/x86/config-5.10 b/target/linux/x86/config-5.10
index 6868dec18a..4616fcba07 100644
--- a/target/linux/x86/config-5.10
+++ b/target/linux/x86/config-5.10
@@ -181,7 +181,6 @@ CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_NONE is not set
# CONFIG_IO_DELAY_UDELAY is not set
-CONFIG_IO_URING=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_IRQ_FORCED_THREADING=y
diff --git a/target/linux/x86/config-5.15 b/target/linux/x86/config-5.15
index a3d8db26ae..ee7ab9d6de 100644
--- a/target/linux/x86/config-5.15
+++ b/target/linux/x86/config-5.15
@@ -183,7 +183,6 @@ CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_NONE is not set
# CONFIG_IO_DELAY_UDELAY is not set
-CONFIG_IO_URING=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_IRQ_FORCED_THREADING=y