From b60d4f5732c912193c78c56291b184d1d4826795 Mon Sep 17 00:00:00 2001 From: zhenyolka Date: Tue, 16 Nov 2021 20:22:03 +0300 Subject: [PATCH] arch/arm64: configs: disable CONFIG_RT_GROUP_SCHED According to the Kconfig, "if enabled, it will also make it impossible to schedule realtime tasks for non-root users until you allocate realtime bandwidth for them." This fixes the issue of libbluetooth unable to create timer with SCHED_FIFO thread. W libc : pthread_create sched_setscheduler(1, {1}) call failed: Operation not permitted E bt_osi_alarm: system/bt/osi/src/alarm.cc:683 timer_create_internal: timer_create_internal unable to create timer with clock 7: Operation not permitted --- arch/arm64/configs/exynos8895-dream2lte_defconfig | 2 +- arch/arm64/configs/exynos8895-dreamlte_defconfig | 2 +- arch/arm64/configs/exynos8895-greatlte_defconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/configs/exynos8895-dream2lte_defconfig b/arch/arm64/configs/exynos8895-dream2lte_defconfig index b6fccb1d1cc6..757aed2afa07 100644 --- a/arch/arm64/configs/exynos8895-dream2lte_defconfig +++ b/arch/arm64/configs/exynos8895-dream2lte_defconfig @@ -136,7 +136,7 @@ CONFIG_MEMCG_FORCE_USE_VM_SWAPPINESS=y CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y CONFIG_CFS_BANDWIDTH=y -CONFIG_RT_GROUP_SCHED=y +# CONFIG_RT_GROUP_SCHED is not set # CONFIG_BLK_CGROUP is not set # CONFIG_CHECKPOINT_RESTORE is not set CONFIG_NAMESPACES=y diff --git a/arch/arm64/configs/exynos8895-dreamlte_defconfig b/arch/arm64/configs/exynos8895-dreamlte_defconfig index 6ff140cf7beb..35d8e2161e8b 100644 --- a/arch/arm64/configs/exynos8895-dreamlte_defconfig +++ b/arch/arm64/configs/exynos8895-dreamlte_defconfig @@ -136,7 +136,7 @@ CONFIG_MEMCG_FORCE_USE_VM_SWAPPINESS=y CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y CONFIG_CFS_BANDWIDTH=y -CONFIG_RT_GROUP_SCHED=y +# CONFIG_RT_GROUP_SCHED is not set # CONFIG_BLK_CGROUP is not set # CONFIG_CHECKPOINT_RESTORE is not set CONFIG_NAMESPACES=y diff --git a/arch/arm64/configs/exynos8895-greatlte_defconfig b/arch/arm64/configs/exynos8895-greatlte_defconfig index 4c0c218ee54c..7acc6c357165 100644 --- a/arch/arm64/configs/exynos8895-greatlte_defconfig +++ b/arch/arm64/configs/exynos8895-greatlte_defconfig @@ -137,7 +137,7 @@ CONFIG_MEMCG_FORCE_USE_VM_SWAPPINESS=y CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y CONFIG_CFS_BANDWIDTH=y -CONFIG_RT_GROUP_SCHED=y +# CONFIG_RT_GROUP_SCHED is not set # CONFIG_BLK_CGROUP is not set # CONFIG_CHECKPOINT_RESTORE is not set CONFIG_NAMESPACES=y -- 2.20.1