Messages in this thread | | | Date | Fri, 10 Feb 2006 00:24:53 +0100 | From | Pavel Machek <> | Subject | Re: Which is simpler? (Was Re: [Suspend2-devel] Re: [ 00/10] [Suspend2] Modules support.) |
| |
Hi!
> > > I've begun briefly to have a look at this. > > > > > > Part of the problem I have, both with doing incremental patches for > > > swsusp and with doing a userspace version, is that some of the > > > fundamentals are redesigned in suspend2. The most important of these is > > > that we store the metadata in bitmaps (for pageflags) and extents (for > > > storage) instead of pbes. Do you have thoughts on how to overcome that > > > issue? Are you willing, for example, to do work on switching swsusp to > > > use a different method of storing its data? > > > > Any changes to userspace are a fair game. OTOH kernel provides linear > > image to be saved to userspace, and what it uses internally should not > > be important to userland parts. (And Rafael did some changes in that > > area to make it more effective, IIRC). > > What about providing the possibility of using the 2 pagesets I use at the > moment? I'm not suggesting it should be compulsory, but perhaps an ioctl to > say "I want to save a Suspend2 style image"?
I'd prefer to get the low-hanging fruits, first. LZF compression seems like a first target.
Of course, adding ioctl to do suspend2-style snapshot is possible, but I fear it will be too intrusive, and would prefer to do it after getting the simple stuff done.
Pavel -- Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted... - 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/
| |