summaryrefslogtreecommitdiffstats
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-06-26 00:19:25 +0000
committerrwatson <rwatson@FreeBSD.org>2009-06-26 00:19:25 +0000
commit6bcc6a84131914c0690ee04211ea2d70f7271ca8 (patch)
tree48ef3c2a8e14cd416a22ae5888f7f96a8bf565c7 /sys/net/if.c
parent25f6ec08bf8732908a215205c7818d59535b51b9 (diff)
downloadFreeBSD-src-6bcc6a84131914c0690ee04211ea2d70f7271ca8.zip
FreeBSD-src-6bcc6a84131914c0690ee04211ea2d70f7271ca8.tar.gz
Convert netisr to use dynamic per-CPU storage (DPCPU) instead of sizing
arrays to [MAXCPU], offering moderate memory savings. In some places, this requires using CPU_ABSENT() to handle less common platforms with sparse CPU IDs. In several places, assert that the selected CPUID for work placement or statistics is not CPU_ABSENT() to be on the safe side. Discussed with: bz, jeff
Diffstat (limited to 'sys/net/if.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud