[PATCH v3 0/2] lib/raid: replace __get_free_pages() call with kvmalloc()
"Mike Rapoport (Microsoft)" <[email protected]>
| Newsgroups | gmane.linux.raid,gmane.linux.kernel,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
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(). --- v3 changes: * 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, -- Sincerely yours, Mike.