[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060923225947.GF21187@elf.ucw.cz>
Date: Sun, 24 Sep 2006 00:59:47 +0200
From: Pavel Machek <pavel@....cz>
To: Nigel Cunningham <ncunningham@...uxmail.org>
Cc: "Rafael J. Wysocki" <rjw@...k.pl>, Andrew Morton <akpm@...l.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -mm 0/6] swsusp: Add support for swap files
Hi!
> > > > We could use a regular (non-swap) file like this but that would require us to
> > > > use some dangerous code (ie. one that writes directly to blocks belonging to
> > > > certain file bypassing the filesystem). IMHO this isn't worth it, provided
> > > > the kernel's swap-handling code can do this for us and is known to work. ;-)
> > >
> > > It's not that dangerous once you debug it.
> >
> > Certainly. Still, let me repeat: if there is some code that does pretty much
> > the same and has _already_ been debugged, I prefer using it to writing some
> > new code, debugging it etc.
>
> Look at Suspend2 then. I know you won't want it in exactly that form,
> but it's there and have been tested and debugged.
Well, but any testing/debugging would have to be invalidated for a
merge, sorry. suspend2 has diverged too much.
"normal files" are not big priority for us, and you could probably do
them in userland just now.... Anyway, diff -u for kernel or preferably
for uswsusp parts would be welcome.
Telling us how much suspend2 rocks with each and every mail... is not
that welcome.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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