From: Pavel Machek <pavel@ucw.cz>
To: Pekka J Enberg <penberg@cs.helsinki.fi>
Cc: nigel@nigel.suspend2.net, linux-pm@lists.osdl.org
Subject: Re: [RFC/PATCH 1/2] swsusp: preserve boot-time printk output after resume
Date: Fri, 27 Apr 2007 14:36:15 +0200 [thread overview]
Message-ID: <20070427123615.GF22250@elf.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.64.0704271522070.11149@sbz-30.cs.Helsinki.FI>
Hi!
> Nigel, can I please get a sign-off for these if you're okay with them.
> Rafael, Pavel, please ACK or NAK. Thanks.
> Adds a new config option CONFIG_PRINTK_NOSAVE which makes the kernel
> preserve printk() output from boot after resume. This is useful for
> debugging hibernation.
1. This should not be a config option
> @@ -92,9 +93,9 @@ static DEFINE_SPINLOCK(logbuf_lock);
> * The indices into log_buf are not constrained to log_buf_len - they
> * must be masked before subscripting
> */
> -static unsigned long log_start; /* Index into log_buf: next char to be read by syslog() */
> -static unsigned long con_start; /* Index into log_buf: next char to be sent to consoles */
> -static unsigned long log_end; /* Index into log_buf: most-recently-written-char + 1 */
> +static unsigned long POSS_NOSAVE log_start; /* Index into log_buf: next char to be read by syslog() */
> +static unsigned long POSS_NOSAVE con_start; /* Index into log_buf: next char to be sent to consoles */
> +static unsigned long POSS_NOSAVE log_end; /* Index into log_buf: most-recently-written-char + 1 */
2. This does not work. pointers are nosave, but logbuf is not. Eh?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2007-04-27 12:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-27 12:25 [RFC/PATCH 1/2] swsusp: preserve boot-time printk output after resume Pekka J Enberg
2007-04-27 12:36 ` Pavel Machek [this message]
2007-04-27 12:52 ` Pekka J Enberg
2007-04-27 12:57 ` Pavel Machek
2007-04-27 14:03 ` Alan Stern
2007-04-27 14:10 ` Pekka Enberg
2007-04-27 14:36 ` Alan Stern
2007-04-27 14:32 ` Johannes Berg
2007-04-27 14:44 ` Pavel Machek
2007-04-27 21:21 ` Nigel Cunningham
2007-04-27 22:05 ` Pavel Machek
2007-04-27 22:09 ` Nigel Cunningham
2007-04-27 12:39 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070427123615.GF22250@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-pm@lists.osdl.org \
--cc=nigel@nigel.suspend2.net \
--cc=penberg@cs.helsinki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox