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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220815031100.75243-1-nixiaoming@huawei.com>
Date:   Mon, 15 Aug 2022 11:10:58 +0800
From:   Xiaoming Ni <nixiaoming@...wei.com>
To:     <linux-kernel@...r.kernel.org>, <phillip@...ashfs.org.uk>
CC:     <nixiaoming@...wei.com>, <wangle6@...wei.com>,
        <yi.zhang@...wei.com>, <wangbing6@...wei.com>,
        <zhongjubin@...wei.com>, <chenjianguo3@...wei.com>
Subject: [PATCH 0/2] squashfs: Add the mount parameter "threads="

Currently, Squashfs supports multiple decompressor parallel modes. However, this
mode can be configured only during kernel building and does not support flexible
selection during runtime.

In the current patch set, the mount parameter "threads=" is added to allow users
to select the parallel decompressor mode and configure the number of decompressors
when mounting a file system.

Xiaoming Ni (2):
  squashfs: add the mount parameter theads=<single|multi|percpu>
  squashfs: Allows users to configure the number of decompression
    threads.

 fs/squashfs/Kconfig                     | 24 ++++++++--
 fs/squashfs/decompressor_multi.c        | 32 ++++++++------
 fs/squashfs/decompressor_multi_percpu.c | 37 ++++++++++------
 fs/squashfs/decompressor_single.c       | 23 ++++++----
 fs/squashfs/squashfs.h                  | 39 ++++++++++++++---
 fs/squashfs/squashfs_fs_sb.h            |  4 +-
 fs/squashfs/super.c                     | 77 ++++++++++++++++++++++++++++++++-
 7 files changed, 191 insertions(+), 45 deletions(-)

-- 
2.12.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ