> > BTW, I know of two subsystems that want their kernel threads to be frozen for
> > synchronization purposes. Please see these messages:
> >
> > 1)
https://lists.linux-foundation.org/pipermail/linux-pm/2007-May/012592.html
> > (plus follow up)
> >
> > 2)
http://marc.info/?l=linux-kernel&m=117919066830575&w=2
>
> I'm not entirely sold on this. The issue is that there's the possibility
> of races during suspend/resume? It sounds like that should be
> implemented in the driver, rather than depending on a side-effect of
> process freezing. Otherwise there's no way of selectively suspending
> that device.