Re: [PATCH -mm] swsusp: userland interface (rev 2)

From: Rafael J. Wysocki
Date: Tue Jan 24 2006 - 19:10:32 EST


Hi,

On Tuesday, 24 January 2006 23:14, Pavel Machek wrote:
> > > > > This patch introduces a user space interface for swsusp.
> > > >
> > > > How will we know if/when this feature is ready for mainline? What criteria
> > > > can we use to judge that?
> > >
> > > It was stable for me last time I tested. I do not think it needs
> > > longer -mm testing than usual patches.
> >
> > One we've shipped the interface we're kinda stuck with it for ever, so it
> > does want to be pretty mature.
>
> Well, I think we got the interface pretty much right -- and it is
> really pretty simple. It survived pretty nasty stress testing at one
> point.

I think the ioctls defined so far won't change. However, it's possible we'll
need some more (for example the suspend console handling is not
optimal now, so to speak).

IMHO the current version is sufficient to start with, but now we should
start working on userland tools seriously. Then it'll turn out what else
is necessary.

> Of course, bad things happen. Having it merged but disabled in
> Makefile would certainly be preferred than not merged at
> all. Plus... stable kernel or not, it is new feature, and userland
> suspending programs are quite closely tied to the kernel. I think it
> is reasonable to expect users to have matching version of kernel and
> userland-swsusp tools, at least before dust settles.

I'm afraid that would be a nightmare for distributors who decide to use it.

IMHO after it gets into mainline every next version of the interface should
be backwards compatible with the previous one.

Greetings,
Rafael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/