[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070407131000.e3007eac.akpm@linux-foundation.org>
Date: Sat, 7 Apr 2007 13:10:00 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Michal Piotrowski <michal.k.k.piotrowski@...il.com>
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
"Rafael J. Wysocki" <rjw@...k.pl>, Pavel Machek <pavel@....cz>
Subject: Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded
On Sat, 07 Apr 2007 21:43:17 +0200 Michal Piotrowski <michal.k.k.piotrowski@...il.com> wrote:
> akpm@...ux-foundation.org napisaĆ(a):
> > The mm snapshot broken-out-2007-04-07-03-27.tar.gz has been uploaded to
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-07-03-27.tar.gz
> >
> > It contains the following patches against 2.6.21-rc6:
>
> suspend-to-disk doesn't work when pktgen module is loaded.
>
> Stopping kernel threads timed out after 20 seconds (2 tasks refusing to freeze):
> kpktgend_0
> kpktgend_1
> Restarting tasks ... done.
> swsusp: Basic memory bitmaps freed
This?
--- a/net/core/pktgen.c~pktgen-add-try_to_freeze
+++ a/net/core/pktgen.c
@@ -128,6 +128,7 @@
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/capability.h>
+#include <linux/freezer.h>
#include <linux/delay.h>
#include <linux/timer.h>
#include <linux/list.h>
@@ -3325,6 +3326,8 @@ static int pktgen_thread_worker(void *ar
t->control &= ~(T_REMDEV);
}
+ try_to_freeze();
+
set_current_state(TASK_INTERRUPTIBLE);
}
_
> http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/broken-out-2007-04-07-03-27/mm-serialconsole2.log
>
> Anyway, this kernel is pretty stable :)
Is appreciated, thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists