[PATCH v1 0/1] affs: replace get_zeroed_page() with kzalloc()

From: Xixin Liu

Date: Tue Jul 14 2026 - 01:37:40 EST


Hi,

This series replaces get_zeroed_page()/free_page() with kzalloc()/kfree()
for the per-inode extent lookup cache, using u32 *lc throughout.

The cache is a per-inode buffer (AFFS_CACHE_SIZE) for extent lookup
tables in process context, not a page frame mapping. Use kzalloc()/kfree()
for this zeroed heap allocation.

Please review.

Thanks,
Xixin Liu

---

Xixin Liu (1):
affs: replace get_zeroed_page() with kzalloc()

fs/affs/file.c | 10 ++++++----
fs/affs/inode.c | 8 ++++----
2 files changed, 10 insertions(+), 8 deletions(-)

--
2.43.0