commit | c509c502c208bbb9be211e4b2865781b10bd4405 | [log] [tgz] |
---|---|---|
author | Abhishek Bhardwaj <abhishekbh@chromium.org> | Wed Apr 24 00:08:13 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Apr 24 00:08:13 2019 |
tree | 519d51b8665d0976da85382bc0f97a85c17bb6db | |
parent | 41613d641b5d603d4c210344eb3174455b13f83b [diff] |
arc: Block only throttling calls on disable restriction flag This change modifies SetArcCpuRestriction to allow calls to unthrottle the ARC container when the disable restriction flag was set. Previously, all calls i.e. throttle or unthrottle would be blocked making the container always be throttled since boot. Also, unthrottles the ARC container by default on boot when the disable restriction flag is set. Together these two changes ensure that the ARC instance is unthrottled during testing. BUG=b:131047599 TEST=Manual testing. Change-Id: I7444b81746ada5c9a362fb4761d09e238de9aed5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1564903 Commit-Queue: Abhishek Bhardwaj <abhishekbh@chromium.org> Reviewed-by: Yusuke Sato <yusukes@chromium.org> Cr-Commit-Position: refs/heads/master@{#653437}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .