aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-parameters.txt
diff options
context:
space:
mode:
authorDmitry Kasatkin <d.kasatkin@samsung.com>2014-05-06 07:47:13 -0400
committerMimi Zohar <zohar@linux.vnet.ibm.com>2014-07-17 09:35:11 -0400
commit6edf7a89260859c5e72861dc4e6e169495f076c8 (patch)
treec3d39715070ca8c0d832c95818e05524555c7bf2 /Documentation/kernel-parameters.txt
parent3bcced39ea7d1b0da0a991e221f53de480c6b60b (diff)
ima: introduce multi-page collect buffers
Use of multiple-page collect buffers reduces: 1) the number of block IO requests 2) the number of asynchronous hash update requests Second is important for HW accelerated hashing, because significant amount of time is spent for preparation of hash update operation, which includes configuring acceleration HW, DMA engine, etc... Thus, HW accelerators are more efficient when working on large chunks of data. This patch introduces usage of multi-page collect buffers. Buffer size can be specified using 'ahash_bufsize' module parameter. Default buffer size is 4096 bytes. Changes in v3: - kernel parameter replaced with module parameter Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r--Documentation/kernel-parameters.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 775fe039e060..8b2ab548b6e4 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1322,6 +1322,14 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
1322 different crypto accelerators. This option can be used 1322 different crypto accelerators. This option can be used
1323 to achieve the best performance for a particular HW. 1323 to achieve the best performance for a particular HW.
1324 1324
1325 ima.ahash_bufsize= [IMA] Asynchronous hash buffer size
1326 Format: <bufsize>
1327 Set hashing buffer size. Default: 4k.
1328
1329 ahash performance varies for different chunk sizes on
1330 different crypto accelerators. This option can be used
1331 to achieve best performance for particular HW.
1332
1325 init= [KNL] 1333 init= [KNL]
1326 Format: <full_path> 1334 Format: <full_path>
1327 Run specified binary instead of /sbin/init as init 1335 Run specified binary instead of /sbin/init as init