Re: [RFC PATCH v2] suspend/resume performance improvement

2015-06-01 Thread Rafael J. Wysocki
On Sunday, May 31, 2015 05:07:42 AM EunTaik Lee wrote: > When a task that calls state_store() to suspend > the device has used up most of its time slice, > suspend sometimes take too long. (User noticeable) How long? Perhaps this is not the only explanation of the delay? > Suspend/resume is a sy

[RFC PATCH v2] suspend/resume performance improvement

2015-05-30 Thread EunTaik Lee
When a task that calls state_store() to suspend the device has used up most of its time slice, suspend sometimes take too long. (User noticeable) Suspend/resume is a system wide operation. So, instead of depending on a userspace task's time slice, let kworker do the work to avoid a long wait on th