public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] fs/ecryptfs: Replace kmap{,_atomic}() with kmap_local_page()
@ 2023-04-26 17:22 Fabio M. De Francesco
  2023-04-26 17:22 ` [PATCH v2 1/3] fs/ecryptfs: Replace kmap() " Fabio M. De Francesco
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Fabio M. De Francesco @ 2023-04-26 17:22 UTC (permalink / raw)
  To: Tyler Hicks, Christian Brauner, Dave Chinner,
	Fabio M. De Francesco, Matthew Wilcox (Oracle), Herbert Xu,
	Al Viro, ecryptfs, linux-kernel

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(-)

-- 
2.40.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-08-18 13:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-26 17:22 [PATCH v2 0/3] fs/ecryptfs: Replace kmap{,_atomic}() with kmap_local_page() Fabio M. De Francesco
2023-04-26 17:22 ` [PATCH v2 1/3] fs/ecryptfs: Replace kmap() " Fabio M. De Francesco
2023-04-26 17:22 ` [PATCH v2 2/3] fs/ecryptfs: Use kmap_local_page() in ecryptfs_write() Fabio M. De Francesco
2023-04-26 17:22 ` [PATCH v2 3/3] fs/ecryptfs: Use kmap_local_page() in copy_up_encrypted_with_header() Fabio M. De Francesco
2023-06-28 13:50 ` [PATCH v2 0/3] fs/ecryptfs: Replace kmap{,_atomic}() with kmap_local_page() Fabio M. De Francesco
2023-06-30  2:31   ` Eric Biggers
2023-06-30  7:38     ` Christian Brauner
2023-06-30  8:45 ` Christian Brauner
2023-07-01 10:46   ` Fabio M. De Francesco
2023-08-17 17:13   ` Fabio M. De Francesco
2023-08-18 13:18     ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox