swsusp and Multithreaded core dumps for the 2.5.17 kernel was ... .RE: PATCH Multithreaded...

Pavel Machek (pavel@suse.cz)
Fri, 24 May 2002 00:02:11 +0200


Hi!

> I don't understand what lock problems software suspend has to worry about so
> I cannot comment.
>
> However; your design has ALL the processes getting suspended. To use the
> phantom run queue and migrate them all to it, even with semaphore locks,
> makes good sense to me.

That can not be done, because I'll need to do write-to-swapspace with those
processes frozen, and if they hold some semaphores, that may not be
possible.

> This would allow the software suspend to work with RT processes and SMP
> systems as well. Further such a feature "could" enable a type of
> warm-swapping of hardware to a large system.

I believe it should work with RT as-is. SMP is another issue, I'll
probably wait for hotplug-cpu patches for that. (I do not want to save
state of secondary cpu's).
Pavel

-- 
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/