Skip to content

fs/ecryptfs: Replace kmap{,_atomic}() with kmap_local_page()

Fabio M. De Francesco ecryptfs lkml 2 versions – Applied

Status from this message: Applied to the vfs.misc branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesApplied
  2. v11 patch 1 replySuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3fs/ecryptfs: Replace kmap() with kmap_local_page()fs/ecryptfs/crypto.c fs/ecryptfs/read_write.c+8 -80 replies
2/3fs/ecryptfs: Use kmap_local_page() in ecryptfs_write()fs/ecryptfs/read_write.c+2 -20 replies
3/3fs/ecryptfs: Use kmap_local_page() in copy_up_encrypted_with_header()fs/ecryptfs/mmap.c+2 -20 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchIra Weiny
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] fs/ecryptfs: Replace kmap{,_atomic}() with kmap_local_page()

kmap() and kmap_atomic() have been deprecated in favor of kmap_local_page().

Therefore, replace kmap() and kmap_atomic() with kmap_local_page().

Tested in a QEMU/KVM x86_32 VM, 6GB RAM, booting a kernel with HIGHMEM64GB enabled.

v1->v2: Patches 1/3 and 2/3 were not grouped in a series. Patch 3/3 is new. Therefore, currently one series groups all conversions needed if fs/ecryptfs. The subject of 2/3 changed to differentiate between it and 3/3. Furthermore, the commit messages of 1/3 and 2/3 have been largely reworked.

Fabio M. De Francesco (3):
fs/ecryptfs: Replace kmap() with kmap_local_page() fs/ecryptfs: Use kmap_local_page() in ecryptfs_write() fs/ecryptfs: Use kmap_local_page() in copy_up_encrypted_with_header()

 fs/ecryptfs/crypto.c     |  8 ++++----
 fs/ecryptfs/mmap.c       |  4 ++--
 fs/ecryptfs/read_write.c | 12 ++++++------
 3 files changed, 12 insertions(+), 12 deletions(-)
Signature · 1 line
2.40.0