Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2220813imm; Tue, 2 Oct 2018 23:53:13 -0700 (PDT) X-Google-Smtp-Source: ACcGV63bsNLBxMiGqfFmUL5A5yxEifnxDmTruXt5uubzSwMKgcyUkb0G4bUJBVu9uShPGbvZshfs X-Received: by 2002:a63:2483:: with SMTP id k125-v6mr60076pgk.287.1538549593796; Tue, 02 Oct 2018 23:53:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538549593; cv=none; d=google.com; s=arc-20160816; b=JzJEvkL4IdneQyNXBhiDT8hAmc8If9tH45tzwx3AJ2LB/thbi0izIuTlANJy4itdrk UZwfzNwK99kLZDm5O2Ze+Z0oycG1l8gvDGCU2O6WBqaSSaRnsvuhaV2fGj0nTrX2cUCk 2bfGecEWFBOk+JnIjf6v55OBL0H8Kls+dd25/WHpQcoFc/sRYIf8ylo9sysb1Xb1Bpv5 lpy+5dXqEJ5yO5weCi30NB3kpPtllhqkx3VvgbMYK7VJw3nGLc4tig4ayT855dN9ta9C K4Z4VH/Weh/mZeTg/vNYDVmPJm2jbcYZ42UNmyUpywouqKDQKaD0t0Y4KEevh5ZwTPdN RHzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NHuB/Mbc03PW39X3tm67Jd+0qYW4INKBsqq5fSLKNLA=; b=orpCAquC5hT+pMLYDA3RhwsTW6qs2fMEPKGriaccmy0quvy078On7u5oGedZURG+oM JRGKEKSDFVPrPqRwvCqSg7PYooyp2O7b3VtXK6qJUo0WynPNrGQiZFSBxULqG+8lVYDF gJqGH/eZ1ped5guh+wu1anT10ciCZ/tpKboPSRVLOvuTxhZJYSfuTz7jooIsZLm8spYs dWXmcNMMSaOJGtCtSQ9tQ8sKusRhrROqqcSC6th5S0LLHfCCdSUU1mZpnOiPhrKBu5iY wMeHNKLI3o78EreGaak8NiKVDxLDN3BiOhr4P5NvKcmns0ycKoKfAsyuz2vCqMvgjID0 ECpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=TZ04WXZu; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r12-v6si497028pgg.209.2018.10.02.23.52.55; Tue, 02 Oct 2018 23:53:13 -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=fail header.i=@gmail.com header.s=20161025 header.b=TZ04WXZu; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726833AbeJCNjZ (ORCPT + 99 others); Wed, 3 Oct 2018 09:39:25 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39855 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726521AbeJCNjY (ORCPT ); Wed, 3 Oct 2018 09:39:24 -0400 Received: by mail-wm1-f65.google.com with SMTP id q8-v6so4406880wmq.4 for ; Tue, 02 Oct 2018 23:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=NHuB/Mbc03PW39X3tm67Jd+0qYW4INKBsqq5fSLKNLA=; b=TZ04WXZujX6w7Wp5q84tdxndG5Gb+L6dkr9UBGC55KKYVmq9NzLKZOA31bsKQyNynk c+QsqPRPqV1Q6bdFh2C8s9z8V/ZZDns5hG2a53ETymVXGwlgZxE2GIIWWG+u5z3GbbRr IPhsdF6eoG6ZCwf8SJEHQOt8lP9xmj99bjxxrooixuqp7mXK8xyKvn/HfgkRDUrCxVFT QXo6mRcLrj0ejMpjM0XhNJt6mDzk4LjGPQg+xMvsuCaNsd6DIPGktEoGuxEdafiYZyjx Li/Busu+15dh83e2RzNv0vj5tv9eHfNupdvZ1DpDm6KcCpVQcgoipA2FabxNnEGn7GQG WECg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=NHuB/Mbc03PW39X3tm67Jd+0qYW4INKBsqq5fSLKNLA=; b=Fe8oLQ1FPPinFXWy7UxEdN5vvsVNhRI1TR4nAmQ3nlPNi404HgbugRWkh9HPdihU0B RNW48+SdxGChNvCXwXAHJe8H7jpMgIds+eSi5+7GTPnNLDq1jL6Z53lChfkCHuamIv4s IxYMcjvivcRVzlkYc8v+2XJxrI1Y37epYwjbvZ08zxEeTiO2FiZ9GO/pRzULCl+QGmAG BzMkKC4XszKb6Qv2r+rfH4mb22UcdVsE155cocJg7FaJ+PcVpmRNvkuu7qZEQr9m3E2W AhvOSvLs1P8SyCTyoRSCEwQ2N8divAgkAwzRQRXjH767ROhV4bfDUcj8NLIaTVKpu2v2 Eu8g== X-Gm-Message-State: ABuFfojQHmXDLV9oxw112nhB6cFEr5q8mLyGDzUH1cNlJXMiYLf8749x gHjsdyHxgK0H5ot17DJ/VFY= X-Received: by 2002:a1c:c708:: with SMTP id x8-v6mr392627wmf.116.1538549542273; Tue, 02 Oct 2018 23:52:22 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id l67-v6sm2479314wma.20.2018.10.02.23.52.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Oct 2018 23:52:21 -0700 (PDT) Date: Wed, 3 Oct 2018 08:52:19 +0200 From: Ingo Molnar To: Masayoshi Mizuma Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Baoquan He , Borislav Petkov , linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 0/3] Add a kernel parameter to change the padding size for KASLR Message-ID: <20181003065219.GA28386@gmail.com> References: <20181003013323.4162-1-msys.mizuma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181003013323.4162-1-msys.mizuma@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Masayoshi Mizuma wrote: > This patch series are adding an kernel parameter to change > the padding size used for KASLR. It is useful for memory hotplug > capable system. User can adjust the padding size to use it. > > It is better if the padding size is calculated automatically, > however, ACPI SRAT is not available at the KASLR initialization > time. So, I add a message for user to tell the suitable padding > size. User can set it on next reboot. > > This patch series don't change the current default padding size. > > Change log from v5: > - Fix build error if CONFIG_RANDOMIZE_MEMORY is not defined. Please send a delta patch on top of tip:x86/boot with the get_rand_mem_physical_padding() fix, when doing that you'll see that I did some minor cleanups when applying the patches which your v6 series undoes. Thanks, Ingo