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

From: Rafael J. Wysocki
Date: Tue Jun 19 2012 - 16:17:39 EST


On Tuesday, June 19, 2012, Bojan Smojver wrote:
> Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> >which, on the whole, is nice and compact and still contains the whole
> >info.
>
> Yeah, that was the deal with the dots too. But, Rafael suggested we do
> lines (and I see his point). This way any other lines printed in the meantime
> (I have seen that happen) will also print properly. Ditto that last line - 100%
> is still not quite finished. :-)

Exactly.

I'd use a slightly different status line, though. What about:

"PM: Image saving progress: %d%%"

Then, if something is printed in between those lines, it'll still be clear
what they mean.

Thanks,
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/