Taken from one of jhb's branches. Now a dependency for iflib. Determines the CPUs one should bind a device's interrupt handler's to.
Thanks for resurrecting this. I've been meaning to get back to it.
I had a thought last night (after seeing this review pop up yesterday). I think we should adjust bus_get_cpus() to also accept the cpuset size similar to the cpuset system calls. This will allow the API to handle modules compiled with a different MAXCPU (one way or another). This is somewhat related to PR 200802 which points out that even our system calls need to do a better job of handling that, but I do think we need the size parameter.
This looks like a typo.
Actually, it's a bit of a mismerge. Let me check my git branch which I've merged more recently than the patches posted to arch@.
However, the idea is to treat non-ACPI devices (no handle) differently than what get_domain() does. Maybe the mis-merge is related to the fact that I also changed get_domain to work with the updated acpi_parse_pxm() and this patch tries to not do that?
Hmm, my branch is quite different here actually. Let me rebase that (and drop the Intel NIC driver diffs for now) and post that as an alternative.