Thread (15 messages) 15 messages, 3 authors, 2021-02-23

Re: [REGRESSION] "split bio_kmalloc from bio_alloc_bioset" causing crash shortly after bootup

flat view

From: Christoph Hellwig <hch@lst.de>
Date: 2021-02-23 07:12:56
Also in: lkml

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help