Received: by 10.223.176.46 with SMTP id f43csp382642wra; Thu, 18 Jan 2018 19:02:19 -0800 (PST) X-Google-Smtp-Source: ACJfBovRNzsbNM8bcxJj6QthakHX6ixzUkLaKG/Qej3KRntD4BHKor2H6+wqNCVPhhVTsIKBXeub X-Received: by 10.98.7.207 with SMTP id 76mr20546791pfh.130.1516330939656; Thu, 18 Jan 2018 19:02:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516330939; cv=none; d=google.com; s=arc-20160816; b=AnztcAokD3c/kqpd1gayCodW3HxZCrhm+3Icqxl+w1Nz8hxLa/EGc5a+AARomXwA73 ZQ0hOPy5L19OqvNpzgVPn+MJQJKa1GhLwScWNGxdFZ+RIq36In49I3JXMG71U8vSVZxO 18mOKr0nhpErdusaBOAy7BQgH+AJKDfNUNzgXLis6xRcyNI2fDsKdFLJgmef+lKg78+R ZI/OAIllIK4sswxahGuGiNQQ4S7/N/uMiscEiMxd9hYtLbqVXX/tcej38OHsBgwgfrYz 0+8rJOvwg+slfmA6SPV77j6UsamI5kijiCylqIGatck1CEMaMOj7PVr9WojXQQNNqhK8 lz7g== 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:arc-authentication-results; bh=9udDJlhWDo6BmgL1LBnffRnfgmwVe7dcwvnplgl9Nwk=; b=QBEaJ4p/YtaUai4bse0PeRNPcWlrJ5EpTr+h/1JSopHGKvQ3P6ifL2nPnq9gSggQr2 y7wscqZlboHtzlj8oEyem2ubCCextXTfFqjTLoKRi9eLjU9DNzO3YriArsikOJOip6gO aPVqgXSJvYOGGfFuRn54qO14daWpfWlEZzdpnmW99SV9o97GhyPAeKno2b5/ndsu64eH 9Xa+JgEzlZOeo88jT1INLf0ACu5j6yK1RTOj6Qtr3XXVrxLFL0c66E+fCpIs/2hFhz5T 2WvXK0Hoo9y8JFpf7jI5pIjaX0qDp7lJvY8wrkuiFtSfvK1Ow6kmbfuC5iwhsY3OBn03 EU8A== ARC-Authentication-Results: i=1; mx.google.com; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i188si7264768pgc.180.2018.01.18.19.02.05; Thu, 18 Jan 2018 19:02:19 -0800 (PST) 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; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755305AbeASDBC (ORCPT + 99 others); Thu, 18 Jan 2018 22:01:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50378 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755014AbeASDA4 (ORCPT ); Thu, 18 Jan 2018 22:00:56 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1C1D5C04BD33; Fri, 19 Jan 2018 03:00:56 +0000 (UTC) Received: from localhost (ovpn-8-21.pek2.redhat.com [10.72.8.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 57AA55D9CC; Fri, 19 Jan 2018 03:00:51 +0000 (UTC) Date: Fri, 19 Jan 2018 11:00:48 +0800 From: Baoquan He To: Chao Fan Cc: linux-kernel@vger.kernel.org, x86@kernel.org, hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, keescook@chromium.org, yasu.isimatu@gmail.com, indou.takao@jp.fujitsu.com, lcapitulino@redhat.com Subject: Re: [PATCH v7 5/5] document: add document for kaslr_mem Message-ID: <20180119030048.GC1753@localhost.localdomain> References: <20180117105351.12226-1-fanc.fnst@cn.fujitsu.com> <20180117105351.12226-6-fanc.fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180117105351.12226-6-fanc.fnst@cn.fujitsu.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 19 Jan 2018 03:00:56 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/17/18 at 06:53pm, Chao Fan wrote: > Signed-off-by: Chao Fan > --- > Documentation/admin-guide/kernel-parameters.txt | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index e2de7c006a74..f6d5adde1a73 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -2350,6 +2350,16 @@ > allocations which rules out almost all kernel > allocations. Use with caution! > > + kaslr_mem=nn[KMG][@ss[KMG]] > + [KNL] Force usage of a specific region of memory. [KNL] Force usage of a specific region of memory for KASLR during kernel decompression stage. Region of memory to be used is from ss to ss+nn. If ss is omitted, it is equivalent to kaslr_mem=nn[KMG]@0. Multiple regions can be specified, comma delimited. Notice: only support 4 regions at most now. Example: kaslr_mem=1G,500M@2G,1G@4G Try to rewrite the doc, just for reference. > + Make some features, like memory hotplug and 1G huge > + page work well with KASLR. Region of usable memory is > + from ss to ss+nn. If ss is omitted, it defaults to 0. > + Multiple regions can be specified, comma delimited. > + Notice: we support 4 regions at most now. > + Example: > + kaslr_mem=1G,500M@2G,1G@4G > + > MTD_Partition= [MTD] > Format: ,,, > > -- > 2.14.3 > > >