lkml.org 
[lkml]   [2019]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v4 9/9] printk: use a new ringbuffer implementation
On Thu, 8 Aug 2019, Linus Torvalds wrote:

> On Thu, Aug 8, 2019 at 5:48 PM Steven Rostedt <rostedt@goodmis.org> wrote:
> >
> > I've never tried, but are you saying that even with the "10 second
> > hold" the laptop's DRAM may still have old data that is accessible?
>
> The power doesn't go off when you *start* the 10s hold. It goes off
> after ten seconds.
>
> So power is off only for the time it then takes you to press the power
> button again to turn it on again. So just a second or two if you react
> quickly to the "ok, power light finally went off". Longer if you
> don't.
>
> But yes, DRAM has retention time in the seconds. See for example
>
> https://www.pdl.cmu.edu/PDL-FTP/NVM/dram-retention_isca13.pdf
>
> and look at the kinds of times they are looking at - their graphs
> aren't in milliseconds, they are in 1-5 seconds (and the retention is
> pretty high for that time).
>
> But I don't know what a power-off-in-laptop scenario really looks like..

That's random behaviour. It's hardware & BIOS & value add. What do you
expect?

I tried on a few machines. My laptop does not retain any useful information
and on some server box (which takes ages to boot) the memory is squeaky
clean, i.e. the BIOS wiped it already. Some others worked with a two second
delay between turning the remote power switch on and off.

Thanks,

tglx

\
 
 \ /
  Last update: 2019-08-09 13:16    [W:0.255 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site