From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935762AbdJRHr1 (ORCPT ); Wed, 18 Oct 2017 03:47:27 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:8935 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932533AbdJRHrZ (ORCPT ); Wed, 18 Oct 2017 03:47:25 -0400 From: Qixuan Wu To: , CC: , , , , , , , , , , , Subject: [PATCH 2/2] Documentation/kernel-parameters.txt: Add kernel parameter of squashfs fragments' cache size Date: Thu, 19 Oct 2017 07:51:00 +0800 Message-ID: <1508370660-6343-3-git-send-email-wuqixuan@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508370660-6343-1-git-send-email-wuqixuan@huawei.com> References: <1508370660-6343-1-git-send-email-wuqixuan@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.54.50] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.59E7070B.004A,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: e0f86be558abaa45ecbe8bd49d5e7f9e Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, squashfs fragments' cache size is only determined by config option CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE. Users have no way to change the value when they get the binary kernel. Now make it be configured during booting. Signed-off-by: Qixuan Wu --- Documentation/admin-guide/kernel-parameters.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 0549662..67bab3b 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -3898,6 +3898,13 @@ spia_pedr= spia_peddr= + squashfs.frags_cache_size= + [SQUASHFS] The fragments' cache size. The value should + be in the range of [3,99]. + + The default value of this parameter is determined by + the config option CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE. + srcutree.counter_wrap_check [KNL] Specifies how frequently to check for grace-period sequence counter wrap for the -- 2.7.4