webview: Use EnforceProcessCpuAffinity for little-only experiment
Switches the implementation of the --webview-force-little-cores switch from base::SetProcessCpuAffinityMode to content::EnforceProcessCpuAffinity. The latter periodically verifies that the affinity setting remains active, to detect when the system resets the affinity setting, and reapplies it if necessary. Test: Run system WV shell with the flag & check chrome://histograms Bug: 1111789 Change-Id: Icf4c360a36b8588086a0beb1caedd0e5869e3b59 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2502430Reviewed-by:Richard Coles <torne@chromium.org> Reviewed-by:
Laís Minchillo <laisminchillo@chromium.org> Commit-Queue: Eric Seckler <eseckler@chromium.org> Commit-Queue: Laís Minchillo <laisminchillo@chromium.org> Auto-Submit: Eric Seckler <eseckler@chromium.org> Cr-Commit-Position: refs/heads/master@{#821681}
Showing
Please register or sign in to comment