Re: [PATCH AUTOSEL 6.6 14/17] um: virt-pci: don't use kmalloc()

2025-03-14 Thread Sasha Levin
On Wed, Feb 19, 2025 at 08:42:01AM +0100, Johannes Berg wrote: On Tue, 2025-02-18 at 15:27 -0500, Sasha Levin wrote: From: Johannes Berg [ Upstream commit 5b166b782d327f4b66190cc43afd3be36f2b3b7a ] This code can be called deep in the IRQ handling, for example, and then cannot normally use kma

Re: [PATCH AUTOSEL 6.6 14/17] um: virt-pci: don't use kmalloc()

2025-02-18 Thread Johannes Berg
On Tue, 2025-02-18 at 15:27 -0500, Sasha Levin wrote: > From: Johannes Berg > > [ Upstream commit 5b166b782d327f4b66190cc43afd3be36f2b3b7a ] > > This code can be called deep in the IRQ handling, for > example, and then cannot normally use kmalloc(). Have > its own pre-allocated memory and use fr

[PATCH AUTOSEL 6.6 14/17] um: virt-pci: don't use kmalloc()

2025-02-18 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 5b166b782d327f4b66190cc43afd3be36f2b3b7a ] This code can be called deep in the IRQ handling, for example, and then cannot normally use kmalloc(). Have its own pre-allocated memory and use from there instead so this doesn't occur. Only in the (very rare) case