[Bug 211836] Kernel panic with net.isr enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 15 12:16:49 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211836

Andrey V. Elsukov <ae at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ae at FreeBSD.org

--- Comment #6 from Andrey V. Elsukov <ae at FreeBSD.org> ---
(In reply to Babak Farrokhi from comment #5)
> (In reply to Andrey V. Elsukov from comment #4)
> So you suggest setting net.isr.maxthreads=32 would fix this (aside from
> locking overhead)? Isn't RSS aware of maximum CPUs used by netisr?

I think netisr code should be fixed, we even have in the comment suggested
solution: DPCPU_ID_GET(nws_array[arbitraryvalue % nws_count], nws)

So, probably if we define macro:
#define NETISR_WS(_cpuid)   DPCPU_ID_GET(nws_array[(_cpuid) % nws_count], nws)

Then replace all DPCPU_ID_GET(xxx, nws) with NETISR_WS(xxx), I think this will
help. But, maybe Robert or Adrian will suggest something better.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list