commit | 0225bdfafd818f895fa4a4512f124a1614e011e2 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@linux.dev> | Thu Feb 01 06:28:41 2024 -0500 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Wed Mar 13 18:38:13 2024 -0400 |
tree | bdc0b79b1d1731cd67e41f430b89833d2dd44bad | |
parent | 737cd174d1666620f2c41a4552623125de6bd80d [diff] |
mempool: kvmalloc pool Add mempool_init_kvmalloc_pool() and mempool_create_kvmalloc_pool(), which wrap kvmalloc() instead of kmalloc() - kmalloc() with a vmalloc() fallback. This is part of a bcachefs cleanup - dropping an internal kvpmalloc() helper (which predates kvmalloc()) along with mempool helpers; this replaces the bcachefs-private kvpmalloc_pool. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Cc: linux-mm@kvack.org