From 51a7c43d9912cf194a7480773d7faf2bd66dfdc3 Mon Sep 17 00:00:00 2001 From: Adrian Calianu Date: Wed, 24 May 2017 13:23:39 +0200 Subject: add low latency specific kernel configuration Signed-off-by: Adrian Calianu --- features/lowlatency/hz_1000.cfg | 4 ++++ features/lowlatency/lowlatency_y.scc | 5 +++++ features/lowlatency/preempt.cfg | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 features/lowlatency/hz_1000.cfg create mode 100644 features/lowlatency/lowlatency_y.scc create mode 100644 features/lowlatency/preempt.cfg diff --git a/features/lowlatency/hz_1000.cfg b/features/lowlatency/hz_1000.cfg new file mode 100644 index 0000000..cfe38e6 --- /dev/null +++ b/features/lowlatency/hz_1000.cfg @@ -0,0 +1,4 @@ + +CONFIG_HZ_1000=y +CONFIG_HZ=1000 + diff --git a/features/lowlatency/lowlatency_y.scc b/features/lowlatency/lowlatency_y.scc new file mode 100644 index 0000000..eaf745a --- /dev/null +++ b/features/lowlatency/lowlatency_y.scc @@ -0,0 +1,5 @@ +define KFEATURE_DESCRIPTION "Enable low latency kernel configuration" +define KFEATURE_COMPATIBILITY board + +kconf non-hardware preempt.cfg +kconf non-hardware hz_1000.cfg diff --git a/features/lowlatency/preempt.cfg b/features/lowlatency/preempt.cfg new file mode 100644 index 0000000..a3bbe94 --- /dev/null +++ b/features/lowlatency/preempt.cfg @@ -0,0 +1,5 @@ +CONFIG_IRQ_FORCED_THREADING=y +CONFIG_PREEMPT_RCU=y + +CONFIG_PREEMPT=y +CONFIG_PREEMPT_COUNT=y -- cgit v1.2.3-54-g00ecf