Re: [RFC 5/5] pm: remove kernel thread freezing

From: Pavel Machek
Date: Tue Oct 03 2017 - 16:57:48 EST


On Tue 2017-10-03 22:38:33, Jiri Kosina wrote:
> On Tue, 3 Oct 2017, Pavel Machek wrote:
>
> > > This point I don't understand. What exactly do you mean?
> >
> > Hibernation:
> >
> > We freeze, do system snapshot, unfreeze, and write image to
> > disk.
>
> Where/why do you unfreeze between creating the snapshot and writing it
> out?

Yep, sorry, we don't unfreeze.

> Again, I agree that the (rare) kthreads that are actually "creating" new
> I/O have to be somehow frozen and require special care.

Agreed. Was any effort made to identify those special kernel threads?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature