summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti-staging/0004-ARM-config-omap-Change-PREEMPTion-to-voluntary.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti-staging/0004-ARM-config-omap-Change-PREEMPTion-to-voluntary.patch')
-rw-r--r--recipes-kernel/linux/linux-ti-staging/0004-ARM-config-omap-Change-PREEMPTion-to-voluntary.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti-staging/0004-ARM-config-omap-Change-PREEMPTion-to-voluntary.patch b/recipes-kernel/linux/linux-ti-staging/0004-ARM-config-omap-Change-PREEMPTion-to-voluntary.patch
new file mode 100644
index 00000000..469a0c7e
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti-staging/0004-ARM-config-omap-Change-PREEMPTion-to-voluntary.patch
@@ -0,0 +1,33 @@
1From 54821ed9f986a0023bbc3fa08060e1f2c8efb6b5 Mon Sep 17 00:00:00 2001
2From: Chase Maupin <Chase.Maupin@ti.com>
3Date: Mon, 24 Feb 2014 13:16:20 -0600
4Subject: [PATCH 1/2] ARM: config: omap: Change PREEMPTion to voluntary
5
6* Change the default PREEMPT mode to voluntary which reduces the
7 overhead and increases performance for many use cases such as
8 UDP networking and cryptography.
9* Based on recommendations from Joel Fernandes <joelf@ti.com>
10
11Signed-off-by: Joel Fernandes <joelf@ti.com>
12Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
13Signed-off-by: Denys Dmytriyenko <denys@ti.com>
14---
15 arch/arm/configs/omap2plus_defconfig | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
19index 3975b08..a34b45a 100644
20--- a/arch/arm/configs/omap2plus_defconfig
21+++ b/arch/arm/configs/omap2plus_defconfig
22@@ -38,7 +38,7 @@ CONFIG_ARM_ERRATA_411920=y
23 CONFIG_PCIE_DRA7XX=y
24 CONFIG_SMP=y
25 CONFIG_NR_CPUS=2
26-CONFIG_PREEMPT=y
27+CONFIG_PREEMPT_VOLUNTARY=y
28 CONFIG_CMA=y
29 CONFIG_ZBOOT_ROM_TEXT=0x0
30 CONFIG_ZBOOT_ROM_BSS=0x0
31--
321.8.3.2
33