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 _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm