Messages in this thread |  | | Date | Tue, 23 Feb 2021 08:11:48 +0100 | From | Christoph Hellwig <> | Subject | Re: [REGRESSION] "split bio_kmalloc from bio_alloc_bioset" causing crash shortly after bootup |
| |
On Mon, Feb 22, 2021 at 08:22:09PM -0800, John Stultz wrote: > I'm wondering if given there are multiple call sites, that in > bio_alloc_bioset() would something like the following make more sense? > (apologies, copy pasted so this is whitespace corrupted) > thanks
No. The fallback from the mempool backing to plain kmalloc is highly dangerous, which is one of the reasons it was removed. The other being that we don't want to disturb the fast path with this slow path.
|  |