Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752839AbcDFTCp (ORCPT ); Wed, 6 Apr 2016 15:02:45 -0400 Received: from mail-ig0-f195.google.com ([209.85.213.195]:36521 "EHLO mail-ig0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751776AbcDFTCn (ORCPT ); Wed, 6 Apr 2016 15:02:43 -0400 MIME-Version: 1.0 In-Reply-To: <1459968792.2818.22.camel@debian.org> References: <1459947782-5071-1-git-send-email-ed@abdsec.com> <5e5e7c7ced7bede343530ed1447d7453@abdsec.com> <1459968792.2818.22.camel@debian.org> Date: Wed, 6 Apr 2016 12:02:25 -0700 X-Google-Sender-Auth: unvHuzvjk_zVC_-9Kw1sDFW89dw Message-ID: Subject: Re: [kernel-hardening] Re: [PATCH] KERNEL: resource: Fix bug on leakage in /proc/iomem file From: Linus Torvalds To: Yves-Alexis Perez Cc: "kernel-hardening@lists.openwall.com" , Kees Cook , Emrah Demir , Dan Rosenberg , Dave Jones , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 966 Lines: 21 On Wed, Apr 6, 2016 at 11:53 AM, Yves-Alexis Perez wrote: > > Actually you just have to have a swap partition, which people still set as > more or less the ram size, I think, so all in all it works (especially if > people hibernate without the ram completely used). I guess people still do those. I have one on my laptop, but that's because I only have 4GB of RAM in that thing. I'd never hibernate it, though. If I can't just get it back from suspend immediately, I'd rather just boot it from scratch. On bigger machines where I have 16GB or more, I tend to go "I'd rather fail early and perhaps buy more RAM than see the slowdown or write to my precious ssd". I guess I might have a swap partition just because a distro did one for me and I didn't catch it. So yeah, maybe swap partitions are still more common than I thought. And I didn't even consider the possibility that people would hibernate a desktop like you do. Linus