Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <jaeg...@kernel.org>:
On Tue, 13 May 2025 13:57:20 +0800 you wrote: > .init_{,de}compress_ctx uses kvmalloc() to alloc memory, it will try > to allocate physically continuous page first, it may cause more memory > allocation pressure, let's use vmalloc instead to mitigate it. > > [Test] > cd /data/local/tmp > touch file > f2fs_io setflags compression file > f2fs_io getflags file > for i in $(seq 1 10); do sync; echo 3 > /proc/sys/vm/drop_caches;\ > time f2fs_io write 512 0 4096 zero osync file; truncate -s 0 file;\ > done > > [...] Here is the summary with links: - [f2fs-dev,1/2] f2fs: use vmalloc instead of kvmalloc in .init_{, de}compress_ctx https://git.kernel.org/jaegeuk/f2fs/c/10b26e772b10 - [f2fs-dev,2/2] f2fs: introduce FAULT_VMALLOC https://git.kernel.org/jaegeuk/f2fs/c/2c19d65bab04 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel