lkml.org 
[lkml]   [2012]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH]: In kernel hibernation, suspend to both
On Sat, Jun 16, 2012 at 04:19:18PM -0400, Alan Stern wrote:
> On Sun, 17 Jun 2012, Bojan Smojver wrote:
>
> > "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> >
> > >Hmm. Is there any fix, though?
> >
> > How do we tell printk() to not dump stuff into dmesg?
>
> You can't; that's what printk() does, by definition. If you don't want
> stuff to go into the dmesg buffer then don't call printk().
>
> > Or, how do we
> > otherwise just print to the console?
>
> That's a better question. Unfortunately, I don't know the answer.

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.

--
Regards/Gruss,
Boris.


\
 
 \ /
  Last update: 2012-06-17 01:41    [from the cache]
©2003-2011 Jasper Spaans