]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a bus_get_domain() wrapper around BUS_GET_DOMAIN(). Use this to add
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 24 Nov 2014 19:55:45 +0000 (19:55 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 24 Nov 2014 19:55:45 +0000 (19:55 +0000)
commita2d751936b21f56962af93a272dd1c998baa2bd2
tree3f96fa00831bb6ad6aa20f049336a4c1d907fa63
parent20abb66ede73af231b18b2e86bae45bd71f30158
Add a bus_get_domain() wrapper around BUS_GET_DOMAIN().  Use this to add
a new per-device '%domain' sysctl node that returns the NUMA domain a
device is associated with if it is associated with one.

Note that this API is still a WIP and might change before 11.0 actually
ships.

Differential Revision: https://reviews.freebsd.org/D930
Reviewed by: kib, adrian
sys/kern/subr_bus.c
sys/sys/bus.h