Skip to content

Commit

Permalink
[GTK][WPE] Do not use real time priority for the display link thread
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=268900

Reviewed by Michael Catanzaro.

In some cases it can cause the rtkit daemon to kill the ui process due
to CPU usage limit.

* Source/WebKit/UIProcess/glib/DisplayVBlankMonitor.cpp:
(WebKit::DisplayVBlankMonitor::startThreadIfNeeded):

Canonical link: https://commits.webkit.org/274210@main
  • Loading branch information
carlosgcampos committed Feb 7, 2024
1 parent 6033967 commit 0a61478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebKit/UIProcess/glib/DisplayVBlankMonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ bool DisplayVBlankMonitor::startThreadIfNeeded()
if (active)
m_handler();
}
}, ThreadType::Graphics, Thread::QOS::UserInteractive);
}, ThreadType::Graphics, Thread::QOS::Default);
return true;
}

Expand Down

0 comments on commit 0a61478

Please sign in to comment.