[klibc] [klibc 30/31] Remove in-kernel resume-from-disk invocation code

Nigel Cunningham ncunningham at linuxmail.org
Wed Jul 5 17:37:07 PDT 2006


Hi.

On Thursday 06 July 2006 10:11, H. Peter Anvin wrote:
> Nigel Cunningham wrote:
> > This patch doesn't look right to me. After it is applied, the user will
> > have no way of saying that they don't want to resume (noresume). I assume
> > the removal of resume= isn't a problem because you're expecting them to
> > use that other undocumented way of setting resume= that Pavel mentioned a
> > while ago?
>
> Yes, they have.  The handing of resume= and noresume are now done in
> kinit; resume is invoked from userspace by direct command only.

Ah. So it's still valid to have resume= and noresume on the commandline, and 
klibc greps /proc/cmdline?

So, for Suspend2, would I be ok just leaving people to add the echo 
> /proc/suspend2/do_resume, as we currently do for initrds and initramfses?

> There is nothing undocumented about it.

Ok. I guess my memory is stale :).

Regards,

Nigel
-- 
Nigel, Michelle and Alisdair Cunningham
5 Mitchell Street
Cobden 3266
Victoria, Australia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.zytor.com/pipermail/klibc/attachments/20060706/5ed517f6/attachment.bin 


More information about the klibc mailing list