lib/raid: replace __get_free_pages() call with kvmalloc()
Status from this message: [merged mm-nonmm-stable] raid6-use-kmalloc-in-raid6_select_algo.patch removed from -mm tree
Get series with b4
b4 am [email protected] change-id 20260520-lib-8afb92134307Versions newest first
- v4 Latest2 patches 3 repliesApplied 2/2
- v32 patches 3 repliesSuperseded
- v22 patches 5 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 5 replies | Superseded |
Changes in v4 from the cover letter
* s/kvfee/kfree
Patches in v4 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xor: use kmalloc() in calibrate_xor_blocks()lib/ | +3 | 2 replies | Applied |
| 2/2 | raid6: use kmalloc() in raid6_select_algo()lib/ | +3 | 0 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig | Hannes Reinecke |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] lib/raid: replace __get_free_pages() call with kvmalloc()
This is a (tiny) part of larger work of replacing page allocator calls with k*malloc.
Nowadays the right way to say "I need a buffer" is kmalloc() rather than ancient and ugly __get_free_pages().
---
v4 changes:
* s/kvfee/kfree
v3: https://patch.msgid.link/[email protected]
* restore kmalloc() per Christoph
* update changelog
v2: https://patch.msgid.link/[email protected]
* replace kmalloc() with kvmalloc()
v1: https://patch.msgid.link/[email protected]
---
Mike Rapoport (Microsoft) (2):
xor: use kmalloc() in calibrate_xor_blocks()
raid6: use kmalloc() 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,
Signature · 2 lines
Sincerely yours, Mike.