Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752842AbeAQKzV (ORCPT + 1 other); Wed, 17 Jan 2018 05:55:21 -0500 Received: from mail.cn.fujitsu.com ([183.91.158.132]:35110 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752778AbeAQKzS (ORCPT ); Wed, 17 Jan 2018 05:55:18 -0500 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="35406319" From: Chao Fan To: , , , , , , , CC: , , Chao Fan Subject: [PATCH v7 5/5] document: add document for kaslr_mem Date: Wed, 17 Jan 2018 18:53:51 +0800 Message-ID: <20180117105351.12226-6-fanc.fnst@cn.fujitsu.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180117105351.12226-1-fanc.fnst@cn.fujitsu.com> References: <20180117105351.12226-1-fanc.fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain X-yoursite-MailScanner-ID: D922649F19A3.AAB1D X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: fanc.fnst@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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. + 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