I saw your earlier email with that proposal. Just had to digest it a bit :)
(still catching up with things after vacation).
That would work. But wouldn't it be hard for the users to debug things ? I
mean if you have a complex cpuset hierarchy it may be hard to figure out why a
certain irq is not getting to cpuX and vice versa.
btw How would we represent "all irqs", are you implying that those files
contain masks ?
We'll also need to handle conflicts like "irq excluded from all cpusets", etc.
I still prefer "irq as a task" approach. It's very simple and straightforward
mapping of an irq -> cpuset, no conflicts, etc. Easy to figure out for the
user where an irq will end up.
btw I did not quite get the idea behind the "exclude" part. Why is "include"
not enough ? Can you give me an example.
I think it makes sense regardless of the cpuset based approach. Seems like a
logical extension of the existing interface (ie per IRQ mask plus the default).
Max
--