Re: Re: [RFC/PATCH 1/2] swsusp: preserve boot-time printk output after resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 27 Apr 2007, Pekka Enberg wrote:

> On 4/27/07, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> > Consider this: Add a debugfs file containing a binary value.  If the value
> > is on then preserve the boot dmesg buffer.  If the value is off, don't
> > preserve it -- overwrite the buffer pointers with values saved in the
> > image.
> 
> But isn't it impractical to change a debugfs file upon kernel startup
> before we hit resume? Or do you mean we always make a copy of the
> dmesg buffer before resume starts and afterwards replace the new one
> if the debug value is set?

Yes, that's what I meant.  It would make changing the setting a lot easier 
during testing.

Alan Stern

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux