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

Xixin Liu posted 1 patch 1 week, 5 days ago
fs/affs/file.c  | 10 ++++++----
fs/affs/inode.c |  8 ++++----
2 files changed, 10 insertions(+), 8 deletions(-)
[PATCH v1 0/1] affs: replace get_zeroed_page() with kzalloc()
Posted by Xixin Liu 1 week, 5 days ago
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