Bug 311975
| Summary: | [Linux] Use QOS::UserInitiated for NetworkProcess' Cache Storage thread | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Pena <spena> |
| Component: | WebKitGTK | Assignee: | Simon Pena <spena> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Simon Pena
Darwin's WorkQueue::QOS::UserInteractive maps to Linux's real-time SCHED_RR. Since the Cache Storage was promoted to UserInteractive in 292576@main, it occasionally exceeds RT CPU time limits, triggering a kernel SIGKILL -- or since 310907@main, demotion. We should conditionally use UserInitiated on Linux, which maps to SCHED_OTHER.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Pena
Pull request: https://github.com/WebKit/WebKit/pull/62481
EWS
Committed 311064@main (c446a0f81300): <https://commits.webkit.org/311064@main>
Reviewed commits have been landed. Closing PR #62481 and removing active labels.