Re: [RFC PATCH] suspend/resume performance improvement

From: Pavel Machek
Date: Wed May 27 2015 - 03:50:37 EST


On Tue 2015-05-26 14:05:47, ììí 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)
>
> Suspend/resume is a system wide operation.

It is also root-only.

> So, instead of depending on a userspace task's time
> slice, let kworker do the work to avoid a long wait
> on the runqueue.

...so if you really want high priority for that operation, just renice
yourself to higher priority or something...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/