public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Merging the Suspend2 freezer implementation.
@ 2005-02-08  0:23 Nigel Cunningham
  2005-02-08 16:36 ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Nigel Cunningham @ 2005-02-08  0:23 UTC (permalink / raw)
  To: Pavel Machek, Linux Kernel Mailing List

Hi Pavel.

I'm keen to see if we can merge Suspend2's freezer implementation after
2.6.11. Does that conflict with any of your intended changes? If it
doesn't, I'll submit a patch for review/merge as quickly as I can.

The main change involves the introduction of a new SYNCTHREAD flag. We
use this to avoid deadlocking over processes that are running sys_sync
and siblings. Processes that enter those routines get the flag added,
and it's removed when they exit the sync routine. We then freeze in four
stages: 

1) Freeze user space threads without SYNCTHREAD set;
2) Freeze user space threads with SYNCTHREAD set;
3) Run our own sys_sync in case no one else was syncing
4) Freeze kernel space threads without NOFREEZE set.

I'd also like to look at your SMP support and see if we can improve
compatibility there at the same time.

Finally I'd like to merge the support for freezer flags on workqueues.

Regards,

Nigel
-- 
Nigel Cunningham
Software Engineer, Canberra, Australia
http://www.cyclades.com

Ph: +61 (2) 6292 8028      Mob: +61 (417) 100 574


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-08 22:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-08  0:23 Merging the Suspend2 freezer implementation Nigel Cunningham
2005-02-08 16:36 ` Pavel Machek
2005-02-08 21:59   ` Nigel Cunningham
2005-02-08 22:32     ` Pavel Machek
2005-02-08 22:38       ` Nigel Cunningham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox