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}
Showing
Please register or sign in to comment