Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7541803ybh; Thu, 8 Aug 2019 18:17:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgK6uPWEOSEnZewnOjLMFb2JROlrHeiefpu2HbSR5IgQw/ODBU6KlD5Eokbp1/cr7g+pan X-Received: by 2002:a63:1d2:: with SMTP id 201mr15670587pgb.307.1565313435279; Thu, 08 Aug 2019 18:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565313435; cv=none; d=google.com; s=arc-20160816; b=Df3Rj0BxZfDRvM4aleBuFMd6dreiniDNhfL4EVpHPBOCkRIpcnx+4rFyQIPPeMSQW5 WQO9bSI7gQR0XZUjdXEdZK8Hybo6RCv0gwCN64QCb2alpNllCyEowB2f6mKZr5sti+Rp S6U5be4xdgl2Rwg5wN6gDG1vpvLASrF7KKKRrKaJpEZ55Zrx06wz7HQVQfQtbBoryx2+ 3NxI2c9kg9n/hHNDu3VVSg03thD12f8HhNK2k2eEwndyURsSMV3xsRw0JrYXNxRcG4U3 o2EOaaRvp5Z1HtrXikjEhv+Uph8qixpJCo+NC+JVWLpxjuW8AojpBzoteQ/m5Z7NByRE k8lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vyYz4kjl/LS+Ci6YYkBH2OKrNgCeFV+hR/bEG0IyHAQ=; b=OPA3j1M50aJ/T64Rv8hn6Lm546clBQVNe/W4xELMla/JmrxNaJ40Odo1C8FaW3UqQg N8gMCKMOr2yaZhgvLuYNjI82NH+kIdPijw0VKorOKHg64Acjg5YXvPqwJPAXurUFHUhs 2MltlT+9K9FVAE6uGeS+X0nD2h7UKm/xBflhtwBMnXJ6OarCTSbLnc2fl8SAAwDeiXwG zi73ad7lHlL+MnyVGmPvKFZDiuZ6xvaccQRP7Me7b3NMEv1BMqqu0H6JIFVyeIDPt/Ns pvSgJzlaw8fhKyz9ezZ3Glm3PJnBB0w/HgIi97k8awBABagv+StgRvd9VmZoaOKW/zsI wBmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="Kn0WlAb/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3si3060963pju.48.2019.08.08.18.16.59; Thu, 08 Aug 2019 18:17:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="Kn0WlAb/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405309AbfHIBQS (ORCPT + 99 others); Thu, 8 Aug 2019 21:16:18 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:46311 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404985AbfHIBQR (ORCPT ); Thu, 8 Aug 2019 21:16:17 -0400 Received: by mail-lf1-f68.google.com with SMTP id z15so63970819lfh.13 for ; Thu, 08 Aug 2019 18:16:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vyYz4kjl/LS+Ci6YYkBH2OKrNgCeFV+hR/bEG0IyHAQ=; b=Kn0WlAb/wp3bAUOI96M7Exz3gGG32qjs/NPQYgfbcxV3+0/4J5fCBe/zZt1NF37w6R 8Payd0Ku2hgCMW1gwbGsvKYkOEqJjaLAW1aillp0bjCdeTin4d8JVCVOd47C4AexqJXG /YMyaVNugz2Bkd6DvSp+FnUyqwZ2qKYaukD24= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vyYz4kjl/LS+Ci6YYkBH2OKrNgCeFV+hR/bEG0IyHAQ=; b=meK0b9bvyWuPffAZuQOpiFnacPg3VekPJuwhuCXPwOXXf3U1B0hrvP6x7Afle8Yg7M pfiNAB7LqPhw6LzdgHvxsUw3hmqTdr13Luenoz9qnC/GeirIpjvzcQs0XXkA1U9uv5Yx c9GsdRrRgb7Ny3R0/vXSn6X48yyeljBsnVkmMxSRPm8owaBzlfPj6GtAxHeRTdnYjGzt U6BmkfjtiKHLzuHjFfuwz1nbwVP+C+LhH5hMKMghnTfwK9Y73DMSFO4hzBQlylhjHds9 MlmQKsr2jA80eGGvfbVqnBh7zxe7VwBWnARRhwg33nMsVmE0sn79FB50fBdzhh88tA+H dqNQ== X-Gm-Message-State: APjAAAWhzStBxHjrBKrcyNxgyFgJtfWuCbYJULUbXrlSbqe9YbtQzrCq 7hRADICTSuImta7hCrRLCQ9llW8Qje0= X-Received: by 2002:a19:914c:: with SMTP id y12mr10852432lfj.108.1565313375163; Thu, 08 Aug 2019 18:16:15 -0700 (PDT) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com. [209.85.167.46]) by smtp.gmail.com with ESMTPSA id x2sm16309764lfg.12.2019.08.08.18.16.13 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Thu, 08 Aug 2019 18:16:14 -0700 (PDT) Received: by mail-lf1-f46.google.com with SMTP id j17so14225798lfp.3 for ; Thu, 08 Aug 2019 18:16:13 -0700 (PDT) X-Received: by 2002:a19:641a:: with SMTP id y26mr10787490lfb.29.1565313373711; Thu, 08 Aug 2019 18:16:13 -0700 (PDT) MIME-Version: 1.0 References: <20190807222634.1723-1-john.ogness@linutronix.de> <20190807222634.1723-10-john.ogness@linutronix.de> <874l2rclmw.fsf@linutronix.de> <20190808194523.6f83e087@gandalf.local.home> <20190808204841.5afcad46@gandalf.local.home> In-Reply-To: <20190808204841.5afcad46@gandalf.local.home> From: Linus Torvalds Date: Thu, 8 Aug 2019 18:15:57 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v4 9/9] printk: use a new ringbuffer implementation To: Steven Rostedt Cc: John Ogness , Linux List Kernel Mailing , Peter Zijlstra , Petr Mladek , Sergey Senozhatsky , Greg Kroah-Hartman , Andrea Parri , Thomas Gleixner , Sergey Senozhatsky , Brendan Higgins Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 8, 2019 at 5:48 PM Steven Rostedt 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.. Linus