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-next>] [day] [month] [year] [list]
Message-ID: <20250105151208.3797385-1-hongzhen@linux.alibaba.com>
Date: Sun,  5 Jan 2025 23:12:04 +0800
From: Hongzhen Luo <hongzhen@...ux.alibaba.com>
To: linux-erofs@...ts.ozlabs.org
Cc: linux-kernel@...r.kernel.org,
	Hongzhen Luo <hongzhen@...ux.alibaba.com>
Subject: [RFC PATCH v5 0/4] erofs: page cache share feature

Hi everyone,

The patch in this version has made the following changes compared to
the previous versionv(patch v4):

- adjusted the code style;
- introduced erofs_pcshr_{read,readahead}_{begin,end}() to switch
  between anonymous inodes and real inodes;
- cleanup work for erofs_pcshr_fadvise();
- adjusted some variable names, etc.

The experiments were repeated, and the results were almost consistent.

v4: https://lore.kernel.org/all/20240902110620.2202586-1-hongzhen@linux.alibaba.com/
v3: https://lore.kernel.org/all/20240828111959.3677011-1-hongzhen@linux.alibaba.com/
v2: https://lore.kernel.org/all/20240731080704.678259-1-hongzhen@linux.alibaba.com/
v1: https://lore.kernel.org/all/20240722065355.1396365-1-hongzhen@linux.alibaba.com/

Hongzhen Luo (4):
  erofs: move `struct erofs_anon_fs_type` to super.c
  erofs: introduce the page cache share feature
  erofs: apply the page cache share feature
  erofs: introduce .fadvise for page cache share

 fs/erofs/Kconfig           |  10 +
 fs/erofs/Makefile          |   1 +
 fs/erofs/data.c            |  15 +-
 fs/erofs/fscache.c         |  13 --
 fs/erofs/inode.c           |   5 +-
 fs/erofs/internal.h        |   9 +
 fs/erofs/pagecache_share.c | 430 +++++++++++++++++++++++++++++++++++++
 fs/erofs/pagecache_share.h |  39 ++++
 fs/erofs/super.c           |  42 ++++
 fs/erofs/zdata.c           |  10 +-
 10 files changed, 556 insertions(+), 18 deletions(-)
 create mode 100644 fs/erofs/pagecache_share.c
 create mode 100644 fs/erofs/pagecache_share.h

-- 
2.43.5


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ