[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC 5/5] pm: remove kernel thread freezing
On Tue, 3 Oct 2017, Jiri Kosina wrote:

> > What about the many drivers outside filesystems that use the
> > set_freezable() / try_to_freeze() / wait_event_freezable() API?
> Many/most of them are just completely bogus and pointless.

More specifically -- they don't really care at all whether they get
scheduled out exactly at the try_to_freeze() point; they are perfectly
happy being scheduled out at any other scheduling point, and land on
runqueue after the resume has been completed.

Sure, certain drivers need to take action when system is undergoing
hibernation/suspend. But that's what PM callbacks are for, not kthread

Jiri Kosina

 \ /
  Last update: 2017-10-03 22:52    [W:0.058 / U:9.616 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site