diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2017-05-24 13:23:39 +0200 |
---|---|---|
committer | Adrian Calianu <adrian.calianu@enea.com> | 2017-05-24 13:56:04 +0200 |
commit | bfc16709af10dbc1554050731c0d3138134adc59 (patch) | |
tree | c8f8f8de97343bc5d15917a1416b33b8bb55ed63 /features | |
parent | 9854b0d69c16374de0e73df22888675ba0600c65 (diff) | |
download | enea-kernel-cache-bfc16709af10dbc1554050731c0d3138134adc59.tar.gz |
add low latency specific kernel configuration
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Diffstat (limited to 'features')
-rw-r--r-- | features/lowlatency/hz_1000.cfg | 4 | ||||
-rw-r--r-- | features/lowlatency/lowlatency_y.scc | 5 | ||||
-rw-r--r-- | features/lowlatency/preempt.cfg | 5 |
3 files changed, 14 insertions, 0 deletions
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 @@ | |||
1 | |||
2 | CONFIG_HZ_1000=y | ||
3 | CONFIG_HZ=1000 | ||
4 | |||
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 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable low latency kernel configuration" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconf non-hardware preempt.cfg | ||
5 | 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 @@ | |||
1 | CONFIG_IRQ_FORCED_THREADING=y | ||
2 | CONFIG_PREEMPT_RCU=y | ||
3 | |||
4 | CONFIG_PREEMPT=y | ||
5 | CONFIG_PREEMPT_COUNT=y | ||