arch/arm64: configs: disable CONFIG_RT_GROUP_SCHED
authorzhenyolka <zhenyolka@gmail.com>
Tue, 16 Nov 2021 17:22:03 +0000 (20:22 +0300)
committerivanmeler <i_ivan@windowslive.com>
Thu, 27 Jan 2022 10:12:37 +0000 (10:12 +0000)
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
arch/arm64/configs/exynos8895-dreamlte_defconfig
arch/arm64/configs/exynos8895-greatlte_defconfig

index b6fccb1d1cc6a72f9fb5f4da4f2c04775cfde653..757aed2afa07d84d8d351ad48bfabdf2c2187241 100644 (file)
@@ -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
index 6ff140cf7beb74d985f1bb60430211ed8002885b..35d8e2161e8b916a65d30ee8533f8c97a9523d61 100644 (file)
@@ -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
index 4c0c218ee54cd5216139d7d1df07a1e31af650b5..7acc6c35716594e218d32d3e32ce71ebc3d446fa 100644 (file)
@@ -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