Commit 0225bdfa authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
Cc: linux-mm@kvack.org
parent 737cd174
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment