]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a bus_get_domain() wrapper around BUS_GET_DOMAIN(). Use this to add
authorjhb <jhb@FreeBSD.org>
Mon, 24 Nov 2014 19:55:45 +0000 (19:55 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 24 Nov 2014 19:55:45 +0000 (19:55 +0000)
commit5ffe4e5562c85ed6d4629e3641a23080692df4aa
tree3f96fa00831bb6ad6aa20f049336a4c1d907fa63
parentc5e82d754f77fcaf7a68c60ff32dec3bdd556f1b
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