Received: by 10.213.65.16 with SMTP id m16csp254649imf; Mon, 12 Mar 2018 02:38:17 -0700 (PDT) X-Google-Smtp-Source: AG47ELvPnKEQRRMKeB0DzSBddoLywmDVp1FzgfaD93ScQ1cPQCqrEwA+wDfIAbHjlP6p4SfL5T+D X-Received: by 10.98.153.86 with SMTP id d83mr7356757pfe.46.1520847497328; Mon, 12 Mar 2018 02:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520847497; cv=none; d=google.com; s=arc-20160816; b=dQQOp5fSKEcQBsv0duw8i9Hq+AHl+uERD7KajMNqZlB0cMB5aDccvLJ46ugvPU2IMV TlN3/stoR2stsNZR5gaaFjl4KfGLHAW928nrt0dbFElEb2f5J9lJakLrK1psK+xDzXkW 1Voym2HYpToL0GacGzNHGDczKtDgA8rzm9etr0ggqmVAKuVBJER1gt2oYqM9HnZsnnPX IA3uSgmokwlwap6awR4OnaU1B/o22pFtjtZaAPaQrodAvXZ0xGE5zTuZKzTx98lP5wUm VaK1d+CfHrdWgcWD3e7SLelifPZWYdeIRLpTVZEzDBrI12FXOGbJ6Ftxy78+usNipQjH j/cw== 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:arc-authentication-results; bh=5irWrFguWpECklzYeFhDB/DnygkxsNnzqTKrEAOrXPA=; b=H1JS2XW/jdaqJOX2z6fn1KS1CZE0LKN4Kj3yXWuSo70cfLgVsZveSIvzE5caBUTMnK 39LP3vVRhHJmnnaCQLcOU8fNxTHvgjIERvD1Yx/vS6Bg7xIX+dzQXUJnEkednm2eQe+l Hho/B+mhwERFUCUAzLzJPbTqpobilSxuzoLnUc68xrNupAYA8/jBG+aGCWhWKHIAmL2o DNbFCaTNVkJC5NZXHjA8O8CEoF6jNehXhgk3HNUIdEa26KeAZnOpG1f2HEX6URB2WAul uM2yJ+pRt02Ty0ssXPdVS+XNrONwJvSIpUGMVEZ4teAYq/4Zoni5qe1l8aVzE6l3I2QR NR3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=TDp/s43j; 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 b2si5543386pfc.97.2018.03.12.02.38.02; Mon, 12 Mar 2018 02:38:17 -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=TDp/s43j; 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 S1752278AbeCLJgD (ORCPT + 99 others); Mon, 12 Mar 2018 05:36:03 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:51787 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751320AbeCLJgB (ORCPT ); Mon, 12 Mar 2018 05:36:01 -0400 Received: by mail-wm0-f68.google.com with SMTP id h21so15004079wmd.1 for ; Mon, 12 Mar 2018 02:36:01 -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=5irWrFguWpECklzYeFhDB/DnygkxsNnzqTKrEAOrXPA=; b=TDp/s43jZ1qL2ZWB5tO3Wm0aXVZzYjmWHCrfuYEECiA/NjoaJRB+Zp3MqTlewkfQep 9ixFt0MFoq3WXxpWZbVbLXsGnYJ5SfbPsr9SK8xQ9UEFTTcoBjYzF3RR7bh2mok9lq2Y ePPbYRk5zJQhsgEntVejBmtEm9FOkdLkk1dwT83r3XLevEhLhJnB97lqy6XJXAogO95r wxoC5QN48fmXQ9wHxFbNDPlwCsm6XfWgBPvSsDCu74qAF5ik6q1VkZqpaVvkktvTqD93 gChLn58nq/78P8AQuRMUW+/IB3qma6pskOfPaPBsKOI6ZOstGFW8JP+3WHVoi+ZdL+ti DDBw== 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=5irWrFguWpECklzYeFhDB/DnygkxsNnzqTKrEAOrXPA=; b=ToS5nufFxWpIRuj0KwUH9gTqe13fV1lELV+K9DZKf7P5hQCOClW6rnEFbgzyoNoOzA aokmMILriuz83fXaOvgBBXD8Ofcc2LxQ5WzYrLrEOhy6YAfDV51XrxzApdc2UV+SlxoW 2Ic6wOy3NDJGjGmXBWeF2C2KqJcfXgnEee0Bgc6jXQOHGEO2OCTDEh9ov7ij8HVZb7Jo weS7xzEwFZkmTuPt1M0mCiiKFq+uFeCF98waXnTZgztKf+gLNh42pVfdfqaoEZzEpVzk CQq+sGIgBQR98B7MAlED95Ib9cHIIawFjBlAKotLKm7+H4pF1j/x1HBS7EbZLAkAt7se kuIg== X-Gm-Message-State: AElRT7Go67lWgZ7b3iCe6Bhv4AKCAdBXR1WYWgOtqYkbQBPAnQeIhc6e vTcRLtmaADu3ai0DsTUnRAw= X-Received: by 10.28.245.9 with SMTP id t9mr5305993wmh.33.1520847360571; Mon, 12 Mar 2018 02:36:00 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id z18sm6137897wrh.2.2018.03.12.02.35.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Mar 2018 02:35:59 -0700 (PDT) Date: Mon, 12 Mar 2018 10:35:57 +0100 From: Ingo Molnar To: Chao Fan Cc: linux-kernel@vger.kernel.org, x86@kernel.org, hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, bhe@redhat.com, keescook@chromium.org, yasu.isimatu@gmail.com, indou.takao@jp.fujitsu.com, lcapitulino@redhat.com Subject: Re: [PATCH v9 0/5] x86/KASLR: Add parameter kaslr_boot_mem=nn[KMG]@ss[KMG] Message-ID: <20180312093557.gxypr66vrbftz3v3@gmail.com> References: <20180228105105.11487-1-fanc.fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180228105105.11487-1-fanc.fnst@cn.fujitsu.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Chao Fan wrote: > Long time no reply, rebase the patchset, change the parameter name > from 'kaslr_mem' to 'kaslr_boot_mem'. There's no more code change. > > ***Background: > People reported that kaslr may randomly chooses some positions > which are located in movable memory regions. This will break memory > hotplug feature. [...] > ***Solutions: > Introduce a new kernel parameter 'kaslr_boot_mem=nn@ss' to let users to > specify the memory regions where kernel can be allowed to randomize > safely. Manual solutions like that are pretty suboptimal to users, aren't they? In what way does memory hotplug feature 'break'? Does it crash or misbehave? Or simply does it not allow the movement of the affected memory region, while still allowing the rest to be moved? Thanks, Ingo