path: root/lib/libufs/cgroup.c
diff options
authorRoger Pau Monné <royger@FreeBSD.org>2022-11-29 15:21:51 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2022-11-29 15:36:34 +0000
commitbc9a5b049797fb7484dc1448f5d806955499f1f0 (patch)
tree3cbdae5c799600eb21f409ff7dcb401340dd9eab /lib/libufs/cgroup.c
parentbad602850e56d9e3b4900c0063a40dd29ea448fe (diff)
xen/acpi: only evaluate Processor objects matching online CPUsHEADmain
Current Xen Processor driver will evaluate any Processor object on the ACPI tables regardless of whether the processor is online or not. Avoid doing so for processors that are not online, as evaluating methods of processors that are not online could lead to accesses to invalid memory, and in any case the data that the driver fetches from the Processor ACPI object only makes sense for processors that are online. Note the CPU related data fetched from Xen using XENPF_get_cpuinfo hypercall could be cached, I leave that as a future optimization. Sponsored by: Citrix Systems R&D Fixes: b93f47eaeef7 ('xen/acpi: upload Cx and Px data to Xen')
Diffstat (limited to 'lib/libufs/cgroup.c')
0 files changed, 0 insertions, 0 deletions