WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
214650
[iOS] Avoid rebuilding MobileGestalt cache if IOKit is busy
https://bugs.webkit.org/show_bug.cgi?id=214650
Summary
[iOS] Avoid rebuilding MobileGestalt cache if IOKit is busy
Per Arne Vollan
Reported
2020-07-22 12:52:59 PDT
If IOKit is busy, any attempt to rebuild the MobileGestalt cache will likely fail after a timeout. To avoid blocking the main thread in the UI process, skip rebuilding the MobileGestalt cache if IOKit is busy.
Attachments
Patch
(4.18 KB, patch)
2020-07-22 13:03 PDT
,
Per Arne Vollan
ap
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Per Arne Vollan
Comment 1
2020-07-22 12:53:43 PDT
rdar://problem/65882633
Per Arne Vollan
Comment 2
2020-07-22 13:03:06 PDT
Created
attachment 404954
[details]
Patch
Geoffrey Garen
Comment 3
2020-07-22 13:24:11 PDT
Today, if the MG cache is invalid, we get hang reports about it. That's not the best signal, but it's some signal nonetheless. I can see how this patch would make the hang go away, but the next thing that will happen is a mysterious failure in the WebContent process (most likely a failure to play media). Is that an improvement? Did we find to what exactly what keeping IOKit busy on the device that triggered this hang?
Alexey Proskuryakov
Comment 4
2020-07-23 17:45:37 PDT
Comment on
attachment 404954
[details]
Patch r- because of red EWS, but yes, what Geoff said.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug