Re: [PATCH v2] block: try slab allocation in bio_alloc_bioset() before mempool
Jens Axboe <[email protected]>
| Newsgroups | org.kernel.vger.linux-block,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178420393089.282740.17903652811430880504.b4-ty@b4> |
On Thu, 09 Jul 2026 10:01:45 +0800, Joseph Qi wrote:
> When the per-CPU bio cache is enabled but empty, bio_alloc_percpu_cache()
> returns NULL and bio_alloc_bioset() falls straight through to the mempool
> fallback:
>
> if (unlikely(!bio)) {
> if (!(saved_gfp & __GFP_DIRECT_RECLAIM))
> return NULL;
> ...
> }
>
> [...]
Applied, thanks!
[1/1] block: try slab allocation in bio_alloc_bioset() before mempool
commit: 447cfed6d700bfbd5a7120f8ea5821a0e1191667
Best regards,
--
Jens Axboe