[PATCH v3 06/55] mm: Make the page_frag_cache allocator use per-cpu
Christoph Hellwig
hch at infradead.org
Wed Apr 5 08:04:56 PDT 2023
On Fri, Mar 31, 2023 at 05:08:25PM +0100, David Howells wrote:
> Make the page_frag_cache allocator have a separate allocation bucket for
> each cpu to avoid racing. This means that no lock is required, other than
> preempt disablement, to allocate from it, though if a softirq wants to
> access it, then softirq disablement will need to be added.
Can you split this into a separte series? Right now I only see this
patch in mbox and miss the context on why wed want this.
> Make the NVMe and mediatek drivers pass in NULL to page_frag_cache() and
> use the default allocation buckets rather than defining their own.
Can you explain why?
More information about the Linux-nvme
mailing list