[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120616230706.GA26955@liondog.tnic>
Date: Sun, 17 Jun 2012 01:07:06 +0200
From: Borislav Petkov <bp@...en8.de>
To: Alan Stern <stern@...land.harvard.edu>
Cc: Bojan Smojver <bojan@...ursive.com>,
"Rafael J. Wysocki" <rjw@...k.pl>,
"Srivatsa S. Bhat" <srivatsa.bhat@...ux.vnet.ibm.com>,
Linux PM list <linux-pm@...r.kernel.org>,
Kernel development list <linux-kernel@...r.kernel.org>
Subject: Re: [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@...k.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists