[mutter/wip/carlosg/drop-caps: 6/7] backends: Drop rt-scheduler configuration key
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/drop-caps: 6/7] backends: Drop rt-scheduler configuration key
- Date: Sun, 10 Nov 2019 10:43:25 +0000 (UTC)
commit aef1df52ad72cc5621468ae2961e9bd056df44e6
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Nov 8 15:23:30 2019 +0100
backends: Drop rt-scheduler configuration key
This is no longer an experimental feature. Even if we wanted to,
GSettings spawns threads, which we want to avoid until we drop
capabilities.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/923
data/org.gnome.mutter.gschema.xml.in | 4 ----
src/backends/meta-settings-private.h | 3 +--
src/backends/meta-settings.c | 2 --
3 files changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/data/org.gnome.mutter.gschema.xml.in b/data/org.gnome.mutter.gschema.xml.in
index 7d36c06bd..230536c92 100644
--- a/data/org.gnome.mutter.gschema.xml.in
+++ b/data/org.gnome.mutter.gschema.xml.in
@@ -120,10 +120,6 @@
framebuffers instead of window content,
to manage HiDPI monitors. Does not
require a restart.
- • “rt-scheduler” — makes mutter request a low priority
- real-time scheduling. The executable
- or user must have CAP_SYS_NICE.
- Requires a restart.
• “autostart-xwayland” — initializes Xwayland lazily if there are
X11 clients. Requires restart.
</description>
diff --git a/src/backends/meta-settings-private.h b/src/backends/meta-settings-private.h
index 7d610d5b4..4161884f6 100644
--- a/src/backends/meta-settings-private.h
+++ b/src/backends/meta-settings-private.h
@@ -33,8 +33,7 @@ typedef enum _MetaExperimentalFeature
META_EXPERIMENTAL_FEATURE_NONE = 0,
META_EXPERIMENTAL_FEATURE_SCALE_MONITOR_FRAMEBUFFER = (1 << 0),
META_EXPERIMENTAL_FEATURE_KMS_MODIFIERS = (1 << 1),
- META_EXPERIMENTAL_FEATURE_RT_SCHEDULER = (1 << 2),
- META_EXPERIMENTAL_FEATURE_AUTOSTART_XWAYLAND = (1 << 3),
+ META_EXPERIMENTAL_FEATURE_AUTOSTART_XWAYLAND = (1 << 2),
} MetaExperimentalFeature;
#define META_TYPE_SETTINGS (meta_settings_get_type ())
diff --git a/src/backends/meta-settings.c b/src/backends/meta-settings.c
index 66f826f51..e5d44a768 100644
--- a/src/backends/meta-settings.c
+++ b/src/backends/meta-settings.c
@@ -264,8 +264,6 @@ experimental_features_handler (GVariant *features_variant,
features |= META_EXPERIMENTAL_FEATURE_SCALE_MONITOR_FRAMEBUFFER;
else if (g_str_equal (feature, "kms-modifiers"))
features |= META_EXPERIMENTAL_FEATURE_KMS_MODIFIERS;
- else if (g_str_equal (feature, "rt-scheduler"))
- features |= META_EXPERIMENTAL_FEATURE_RT_SCHEDULER;
else if (g_str_equal (feature, "autostart-xwayland"))
features |= META_EXPERIMENTAL_FEATURE_AUTOSTART_XWAYLAND;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]