[d-kernel] [kilian.cavalotti@: Re: [ck] 2.6.12-ck3 and swsusp2]
Konstantin A. Lepikhov
lakostis на anti-leasure.ru
Сб Июл 9 00:27:29 MSD 2005
----- Forwarded message from Kilian CAVALOTTI <kilian.cavalotti на lip6.fr> -----
Date: Fri, 8 Jul 2005 11:45:29 +0200
From: Kilian CAVALOTTI <kilian.cavalotti@>
To: ck@
Cc:
Subject: Re: [ck] 2.6.12-ck3 and swsusp2
On Thursday 07 July 2005 22:56, Thomas de Grenier de Latour wrote:
> No problem, thanks for pointing me to this new version :)
> I've uploaded an incremental patch here:
> http://tdegreni.free.fr/kernel/012--software-suspend-2.1.9.5_to_2.1.9.8.pat
>ch
Thanks again. :)
For cko users, you would perhaps include this, concerning reiser4 and
vesafb-tng:
-------------------------------------------------------------------------------
--- drivers/video/vesafb-thread.c.orig 2005-07-08 11:17:52.000000000 +0200
+++ drivers/video/vesafb-thread.c 2005-07-08 11:24:48.000000000 +0200
@@ -539,8 +539,8 @@
while (1) {
vesafb_handle_tasks();
wait_event_interruptible(vesafb_wait, !list_empty(&vesafb_task_list));
- if (current->flags & PF_FREEZE)
- refrigerator(PF_FREEZE);
+ if (freezing(current))
+ try_to_freeze();
if (signal_pending(current))
break;
--- fs/reiser4/entd.c.orig 2005-07-08 11:32:23.000000000 +0200
+++ fs/reiser4/entd.c 2005-07-08 11:33:06.000000000 +0200
@@ -130,8 +130,8 @@
while (1) {
int result = 0;
- if (me->flags & PF_FREEZE)
- refrigerator(PF_FREEZE);
+ if (freezing(me))
+ try_to_freeze();
spin_lock(&ent->guard);
--- fs/reiser4/ktxnmgrd.c.orig 2005-07-08 11:34:57.000000000 +0200
+++ fs/reiser4/ktxnmgrd.c 2005-07-08 11:36:21.000000000 +0200
@@ -107,9 +107,9 @@
int result;
/* software suspend support. */
- if (me->flags & PF_FREEZE) {
+ if (freezing(me)) {
spin_unlock(&ctx->guard);
- refrigerator(PF_FREEZE/*PF_IOTHREAD*/);
+ try_to_freeze();
spin_lock(&ctx->guard);
}
-------------------------------------------------------------------------------
Regards,
--
Kilian CAVALOTTI Administrateur r?seaux et syst?mes
UPMC / CNRS - LIP6 (C870)
8, rue du Capitaine Scott Tel. : 01 44 27 88 54
_______________________________________________
ck@
ck mailing list. Please reply-to-all when posting.
If replying to an email please reply below the original message.
http://bhhdoa.org.au/mailman/listinfo/ck
----- End forwarded message -----
--
WBR, Konstantin chat with ==>ICQ: 109916175
Lepikhov, speak to ==>JID: lakostis на jabber.org
aka L.A. Kostis write to ==>mailto:lakostis на pisem.net.nospam
...The information is like the bank... (c) EC8OR
Подробная информация о списке рассылки devel-kernel