Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2438707imm; Wed, 3 Oct 2018 04:01:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV61qq/LVvCNI4SXfG7YzsQjoelVEPhHJ5iFY8imeY5eaip7g+LqsrMKe0o+1F2QFxA1V4cDR X-Received: by 2002:a63:6bc2:: with SMTP id g185-v6mr890201pgc.25.1538564488119; Wed, 03 Oct 2018 04:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538564488; cv=none; d=google.com; s=arc-20160816; b=i7HMC1iOYgW9vctWsftfoRFjKnXWKV84V5SeDkQ3o5BbZ7e3JqMpb883CSRVUNIW3y w5dMRKzCqIt4sLNs6k7/eR5d6dtyfUXmyTDi1dnN9waP6ENfa7Vpchd+OWxhXHuEHsSi AbeViLHbA4BNSraHbQ9FFF6CyaxC/40UNJ5daRK4bpKKy7DJXZLqDjM7U3rbmZAS5siq ZehH0PJINOuSzri8phBEy9K9fQa/oy/jcbX6uulpiZ+xLaX/ll164fJKlZoUGSBiCd3x kzqku1pC7Ta2XE/oLRaOIBN5DySXCN8AC8cFA2L5CaMJZZeQG9Fw25QTc+Ld+qTTmcg4 mF8Q== 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=8z87P4HtDiOXCFZtuVfdZIeyCnzQ45X44de/aMR3EUE=; b=G/hMNYuQUvYPzDfzC5MqKfwj7Op/koRmN1u6gwOTJbU79dU7m6FceztAMZR3gcx2Ra FF65wFdi59epjm3QFJyV9Pb1aEB1FW3mI7Ym+V7ylWuhGrQKEBDc9YZb8GLhZRBOyl+j peL5m1twKMWVIzNd04Heln3jiLN24g2lc2+4vKYYlQ4Muq1tNu25alMNaQP061ok0ipV KhwA2ZnvvRrZKOjGmuMgbNPLi55DsiLC9yuizz6GfTVvPX/0ZXKSl2tZRfH4i1dBJ+c1 6oU0cS7OAvLK/LvPN8DvnvOK83PTgNEeMS+GqQ2/DScnhhL183RqiHoAdsEZsFxK5zZc waKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jOje09TE; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e92-v6si1208146pld.358.2018.10.03.04.01.13; Wed, 03 Oct 2018 04:01:28 -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=@gmail.com header.s=20161025 header.b=jOje09TE; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726751AbeJCRsm (ORCPT + 99 others); Wed, 3 Oct 2018 13:48:42 -0400 Received: from mail-yw1-f66.google.com ([209.85.161.66]:46652 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726617AbeJCRsm (ORCPT ); Wed, 3 Oct 2018 13:48:42 -0400 Received: by mail-yw1-f66.google.com with SMTP id j202-v6so2065952ywa.13 for ; Wed, 03 Oct 2018 04:00:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8z87P4HtDiOXCFZtuVfdZIeyCnzQ45X44de/aMR3EUE=; b=jOje09TEXv1XenN6nhi4R2oIQXuHoo1M2j68thmLwgFTyUJIQLBodTF0hV1eKgdwsk QUj49IMw76B2lQQjB11Ra5awzG9l8umYBEn0eOtJmdhapij0xmw1tsbdJmKoOQrmEUxF q3rwRyoChM5Y4CBeH8ohVF7qKH9N4sm/AU6q63Tpulle37i1OMAWOhBpwDa2LZXmZ1e/ BAB13gFSuk8Sfds6rdjMDwz95LBN5FTl2ljXNgd8odH6KdEtHbBOesKybWelP8RfLK8y j05HiCtnN301EktCU1h5p6TK87AkjqZJdbAiNDYHjNKVo1TpW8/SVIIxnJUF3Ehp/kuE 6WWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8z87P4HtDiOXCFZtuVfdZIeyCnzQ45X44de/aMR3EUE=; b=sDItDZGVENf3sHOqZAU3H27NuD012USgYPLrxF4DO3NAHCuYe/Yzqj8ijiv69C2dlG Bt/xxvyetWjSvS0eJYAS9xQJtwHl6cEiVIAoN12ihhoYNPigKKZziNAvgaOJXmd3FDv7 vKCzqvvM5obtRt7cY1JLYEywlp+gGNKTc0Og7qUpH8AHgt52HlVe9NSCkKC8kGRkqGU/ Ir1H6ZEznuXYsDmZq5kLIafJYpYkvid3Sy1op1aVmGO4Kksw/KAiLIeLgZVkwfaZJZai yJnpLgjZUfsD+pzcL4JZMpAd1K2WyTL+AJqSj4B+3/RWQ0Vez3Nj9I4lNyP6Iopz3MHx A0vA== X-Gm-Message-State: ABuFfohMEUzu9E+Syw/vIKh+7Tph+Q6+iOJspck6rJYbpNuSmYnSh7YB r5pE9+PDpWtWLSFeq/qk1w== X-Received: by 2002:a81:4316:: with SMTP id q22-v6mr436031ywa.298.1538564448939; Wed, 03 Oct 2018 04:00:48 -0700 (PDT) Received: from gabell (c-98-229-178-29.hsd1.ma.comcast.net. [98.229.178.29]) by smtp.gmail.com with ESMTPSA id w6-v6sm377479ywg.3.2018.10.03.04.00.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Oct 2018 04:00:48 -0700 (PDT) Date: Wed, 3 Oct 2018 07:00:46 -0400 From: Masayoshi Mizuma To: Ingo Molnar 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: <20181003110045.naxl3r6dhi3vkbk4@gabell> References: <20181003013323.4162-1-msys.mizuma@gmail.com> <20181003065219.GA28386@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181003065219.GA28386@gmail.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 03, 2018 at 08:52:19AM +0200, Ingo Molnar wrote: > > * 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. I have sent the delta patch. Thanks! - Masa