lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1508370660-6343-3-git-send-email-wuqixuan@huawei.com>
Date:   Thu, 19 Oct 2017 07:51:00 +0800
From:   Qixuan Wu <wuqixuan@...wei.com>
To:     <phillip@...ashfs.org.uk>, <corbet@....net>
CC:     <paulmck@...ux.vnet.ibm.com>, <akpm@...ux-foundation.org>,
        <tglx@...utronix.de>, <cdall@...aro.org>, <mingo@...nel.org>,
        <marc.zyngier@....com>, <mchehab@...nel.org>,
        <zohar@...ux.vnet.ibm.com>, <linux-doc@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>,
        <squashfs-devel@...ts.sourceforge.net>, <wuqixuan@...wei.com>
Subject: [PATCH 2/2] Documentation/kernel-parameters.txt: Add kernel parameter of squashfs fragments' cache size

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 <wuqixuan@...wei.com>
---
 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ