git: d1cbe7908986 - main - Allocating the LinuxKPI current structure from an interrupt thread must be done using the M_NOWAIT flag after 1ae20f7c70ea .
Hans Petter Selasky
hps at selasky.org
Fri Mar 12 13:21:53 UTC 2021
On 3/12/21 2:15 PM, Hans Petter Selasky wrote:
> We could just pre-allocate these structures into a linked list, and
> dequeue these for interrupt threads only. Every time a new interrupt is
> allocated we allocate one more of these structures beforehand, and then
> we use that structure back when the ITHREAD flags is set in the thread
> structure, similar to what you are doing, except we don't use UMA zones.
Let's move the discussion over to the differential revision I've created
so that we can agree on a solution.
--HPS
More information about the dev-commits-src-all
mailing list