Re: [PATCH]: In kernel hibernation, suspend to both

From: Borislav Petkov
Date: Sun Jun 17 2012 - 06:31:50 EST


On Sun, Jun 17, 2012 at 01:21:29PM +1000, Bojan Smojver wrote:
> Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> >Ok, I don't know the hibernation code at all but let me give it a try:
> >
> >how about teach the piece that parses
> >
> >$ echo suspend > /sys/power/disk
> >
> >to make a note to self that we're doing the hibrid hibernation method
> >and then the function that prints the progress indicator to be let
> >known
> >of the aforementioned self-note so that it doesn't do any output?
> >
> >Purely hypothetical, of course.
>
> Yeah, we already have a variable for that. But, we can just do it
> simpler - paint one dot every 10% or something, without any backspaces.
> That will fix it for sure.

Right, this could work too. Whatever you guys decide, I'm here to test
patches :)

Thanks.

--
Regards/Gruss,
Boris.
--
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/