From: zhenyolka Date: Tue, 16 Nov 2021 17:22:03 +0000 (+0300) Subject: arch/arm64: configs: disable CONFIG_RT_GROUP_SCHED X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b60d4f5732c912193c78c56291b184d1d4826795;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 --- 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