aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/wakelock.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "wakelock: use single threaded workqueueus"cm-10.1.3Andrea Arcangeli2013-09-211-1/+1
| | | | | | | | | | | | | This reverts commit 7cf296f8064db7991c4cffb13e07de1b5a981d4a. --------------------------------- It's still unclear exactly why unbound workqueues increase the Android OS load measurably (when phone is idle with screen off, which makes sense as that is when wakelocks use the workqueue), probably it's because of more tasks spawned. Change-Id: Ib99ca0ccf727c2419289338aa4916bf90b6a8ef5
* wakelock: use single threaded workqueueusAndrea Arcangeli2012-10-071-1/+1
| | | | | | | | | | | | Avoid the concurrency management that could delay execution if there's lots of workqueue traffic (and allow the runqueue to run on any CPU). Lots of workqueue traffic can be generated by setting ondemand/sampling_rate to 10000. Change-Id: I55b8a223f4a389b93d49eef0d809eb1efe1790ba Signed-off-by: Andrea Arcangeli <andrea@cpushare.com>
* merge opensource jb u5codeworkx2012-09-221-0/+29
| | | | Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
* samsung update 1codeworkx2012-06-021-0/+658