[PATCH v2 0/2] lib/raid: replace __get_free_pages() call with kvmalloc()

Mike Rapoport (Microsoft) posted 2 patches 1 week, 6 days ago
There is a newer version of this series
lib/raid/xor/xor-core.c | 5 +++--
lib/raid6/algos.c       | 6 +++---
2 files changed, 6 insertions(+), 5 deletions(-)
[PATCH v2 0/2] lib/raid: replace __get_free_pages() call with kvmalloc()
Posted by Mike Rapoport (Microsoft) 1 week, 6 days ago
This is a (tiny) part of larger work of replacing page allocator calls
with k*malloc:

Also in git:
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git gfp-to-kmalloc/lib

---
v2 changes:
* replace kmalloc() with kvmalloc()

v1: https://patch.msgid.link/20260520-lib-v1-0-cb3045bef2d8@kernel.org

---
Mike Rapoport (Microsoft) (2):
      lib/raid: use kvmalloc() in calibrate_xor_blocks()
      lib/raid6: use kvmalloc() in raid6_select_algo()

 lib/raid/xor/xor-core.c | 5 +++--
 lib/raid6/algos.c       | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)
---
base-commit: 5d6919055dec134de3c40167a490f33c74c12581
change-id: 20260520-lib-8afb92134307

Best regards,
--  
Sincerely yours,
Mike.