- Give cpuset 2 new arguments, one for hard interrupts (X) and one for ithreads (I)
- Allow CPU_WHICH_(INTRHANDLER|ITHREAD) in cpuset_which()
- Fix a bug in intr_getaffinity() where we'll panic on a null pointer passed to cpuset_which.
Differential D11525
Allow distinct setting and querying of interrupt and ithread affinities gallatin on Jul 7 2017, 9:54 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions Code wise it is fine with me, might be good to get some doc review for the mapage / usage.
Comment Actions Thanks for the feedback. I'll reach out to wblock about the doc changes. I'm quite weak in man page fu, and this is a slightly odd one at that..
Comment Actions This is a bit confusing. The new -I and -X options take the same irq argument as the old -x? Comment Actions Yes. The gist is that currently cpuset -x $IRQ will bind $IRQs interrupt thread and low-level hardware interrupt. I've added a mechanism to bind just the ithread or just the interrupt vector using the new -I or -X flags. I suck at man pages, so any sanity you can add to this would be very much appreciated. Thanks! Drew Comment Actions Added my probably-weak mdoc suggestions, and added brueffer as a reviewer.
|