From: Oleksij Rempel <o.rempel@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [DistroKit] [PATCH v2 07/13] MIPS: kernel: malta: enable PREEMPT support
Date: Fri, 24 Apr 2020 09:08:47 +0200 [thread overview]
Message-ID: <20200424070853.20792-7-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20200424070853.20792-1-o.rempel@pengutronix.de>
The typical embedded use-cases are more sensitive to latency than
throughput. Thus a fully preemptible kernel is preferred.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mips/kernelconfig | 2 +-
configs/platform-mips/kernelconfig-ar9331 | 2 +-
configs/platform-mips/kernelconfig-malta | 16 +++++++++-------
configs/platform-mips/kernelconfig-malta.diff | 14 --------------
4 files changed, 11 insertions(+), 23 deletions(-)
diff --git a/configs/platform-mips/kernelconfig b/configs/platform-mips/kernelconfig
index 6bf2da8..65d6a18 100644
--- a/configs/platform-mips/kernelconfig
+++ b/configs/platform-mips/kernelconfig
@@ -2802,7 +2802,7 @@ CONFIG_WQ_WATCHDOG=y
# end of Scheduler Debugging
# CONFIG_DEBUG_TIMEKEEPING is not set
-CONFIG_DEBUG_PREEMPT=y
+# CONFIG_DEBUG_PREEMPT is not set
#
# Lock Debugging (spinlocks, mutexes, etc...)
diff --git a/configs/platform-mips/kernelconfig-ar9331 b/configs/platform-mips/kernelconfig-ar9331
index 46327e0..910226c 100644
--- a/configs/platform-mips/kernelconfig-ar9331
+++ b/configs/platform-mips/kernelconfig-ar9331
@@ -2786,7 +2786,7 @@ CONFIG_WQ_WATCHDOG=y
# end of Scheduler Debugging
# CONFIG_DEBUG_TIMEKEEPING is not set
-CONFIG_DEBUG_PREEMPT=y
+# CONFIG_DEBUG_PREEMPT is not set
#
# Lock Debugging (spinlocks, mutexes, etc...)
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index f0bc35c..28ea08e 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -76,9 +76,11 @@ CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
# end of Timers subsystem
-CONFIG_PREEMPT_NONE=y
+# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
-# CONFIG_PREEMPT is not set
+CONFIG_PREEMPT=y
+CONFIG_PREEMPT_COUNT=y
+CONFIG_PREEMPTION=y
#
# CPU/Task time and stats accounting
@@ -96,9 +98,11 @@ CONFIG_CPU_ISOLATION=y
# RCU Subsystem
#
CONFIG_TREE_RCU=y
+CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_EXPERT is not set
CONFIG_SRCU=y
CONFIG_TREE_SRCU=y
+CONFIG_TASKS_RCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
# end of RCU Subsystem
@@ -571,11 +575,7 @@ CONFIG_MQ_IOSCHED_KYBER=y
# end of IO Schedulers
CONFIG_ASN1=y
-CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
-CONFIG_INLINE_READ_UNLOCK=y
-CONFIG_INLINE_READ_UNLOCK_IRQ=y
-CONFIG_INLINE_WRITE_UNLOCK=y
-CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
+CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
@@ -3599,6 +3599,7 @@ CONFIG_SCHED_DEBUG=y
# end of Scheduler Debugging
# CONFIG_DEBUG_TIMEKEEPING is not set
+# CONFIG_DEBUG_PREEMPT is not set
#
# Lock Debugging (spinlocks, mutexes, etc...)
@@ -3670,6 +3671,7 @@ CONFIG_DYNAMIC_FTRACE=y
# CONFIG_STACK_TRACER is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_IRQSOFF_TRACER is not set
+# CONFIG_PREEMPT_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_HWLAT_TRACER is not set
# CONFIG_FTRACE_SYSCALLS is not set
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index a7096da..858f897 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -301,7 +301,6 @@ CONFIG_DAVICOM_PHY=m
# CONFIG_DEBUG_GPIO is undefined
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_DEBUG_PINCTRL is undefined
-# CONFIG_DEBUG_PREEMPT is undefined
# CONFIG_DEFAULT_CUBIC is undefined
# CONFIG_DEFAULT_RENO is undefined
# CONFIG_DEFAULT_SFQ is not set
@@ -596,11 +595,6 @@ CONFIG_INET_TCP_DIAG=y
CONFIG_INET_TUNNEL=y
# CONFIG_INET_UDP_DIAG is not set
CONFIG_INET_XFRM_TUNNEL=m
-CONFIG_INLINE_READ_UNLOCK=y
-CONFIG_INLINE_READ_UNLOCK_IRQ=y
-CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
-CONFIG_INLINE_WRITE_UNLOCK=y
-CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
CONFIG_INPUT=y
# CONFIG_INPUT_EVBUG is not set
# CONFIG_INPUT_EVDEV is not set
@@ -1330,12 +1324,6 @@ CONFIG_POWER_RESET_SYSCON=y
# CONFIG_PPP_MPPE is undefined
# CONFIG_PPP_MULTILINK is undefined
# CONFIG_PPP_SYNC_TTY is undefined
-# CONFIG_PREEMPT is not set
-# CONFIG_PREEMPTION is undefined
-# CONFIG_PREEMPT_COUNT is undefined
-CONFIG_PREEMPT_NONE=y
-# CONFIG_PREEMPT_RCU is undefined
-# CONFIG_PREEMPT_TRACER is undefined
CONFIG_PRISM54=m
CONFIG_PROC_KCORE=y
CONFIG_PROC_PAGE_MONITOR=y
@@ -1687,7 +1675,6 @@ CONFIG_SYS_SUPPORTS_SMARTMIPS=y
CONFIG_SYS_SUPPORTS_SMP=y
CONFIG_SYS_SUPPORTS_VPE_LOADER=y
# CONFIG_SYS_SUPPORTS_ZBOOT_UART_PROM is undefined
-# CONFIG_TASKS_RCU is undefined
CONFIG_TC35815=m
# CONFIG_TCP_CONG_ADVANCED is not set
# CONFIG_TCP_CONG_BBR is undefined
@@ -1736,7 +1723,6 @@ CONFIG_UIO_CIF=m
# CONFIG_UIO_PRUSS is not set
# CONFIG_UIO_SERCOS3 is not set
# CONFIG_ULTRIX_PARTITION is undefined
-# CONFIG_UNINLINE_SPIN_UNLOCK is undefined
# CONFIG_UNISYSSPAR is undefined
# CONFIG_UNIXWARE_DISKLABEL is undefined
# CONFIG_USBPCWATCHDOG is undefined
--
2.26.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
next prev parent reply other threads:[~2020-04-24 7:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 02/13] MIPS: kernel: enable USB support Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 03/13] MIPS: kernel: enable CPU_IDLE support Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 04/13] MIPS: kernel: enable EXT4 and VFAT FS support Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 05/13] MIPS: kernel: malta: disable dummy driver Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 06/13] MIPS: kernel: malta: disable devmem support Oleksij Rempel
2020-04-24 7:08 ` Oleksij Rempel [this message]
2020-04-24 7:08 ` [DistroKit] [PATCH v2 08/13] MIPS: kernel: malta: disable unused functions CPU_ISOLATION and CONNECTOR Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 09/13] MIPS: kernel: malta: disable unused name spaces Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 10/13] MIPS: kernel: malta: disable SYSTEM_TRUSTED_KEYRING and WiFI support Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 11/13] MIPS: malta: fix qemu run script Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 12/13] MIPS: enable GLIBCXX_ASSERTION Oleksij Rempel
2020-04-24 7:08 ` [DistroKit] [PATCH v2 13/13] MIPS: enable HARDEN_STACKCLASH Oleksij Rempel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200424070853.20792-7-o.rempel@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=distrokit@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox