Re: swsusp3: system suspend/resume from userspace

Nigel Cunningham
2005-09-01T21:13:32Z

[-- Attachment #1: Type: text/plain, Size: 617 bytes --]

Hi.

On Fri, 2005-09-02 at 06:17, Pavel Machek wrote:
> Hi!
>
> > > shrink kernel a bit at the same time.
> >
> > got numbers (or predicted numbers)?
>
> 30-50% of swsusp.c deals with swap writing, and with swsusp3, they could
> be removed. Of course, removal would take some time before people install userland
> "write image" programs.

You're also going to have to add code to interface with userspace and
pass the data. I wouldn't be surprised if the net effect is a growth in
the code.

Regards,

Nigel
--
Evolution.
Enumerate the requirements.
Consider the interdependencies.
Calculate the probabilities.