lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 25 Oct 2008 21:04:12 -0700 (PDT) From: David Miller <davem@...emloft.net> To: benh@...nel.crashing.org Cc: galak@...nel.crashing.org, akpm@...l.org, linux-kernel@...r.kernel.org, linuxppc-dev@...abs.org, torvalds@...l.org, maxk@...lcomm.com, tglx@...utronix.de Subject: Re: [PATCH] genirq: Set initial default irq affinity to just CPU0 From: Benjamin Herrenschmidt <benh@...nel.crashing.org> Date: Sun, 26 Oct 2008 08:33:09 +1100 > Well, I don't know how you do it but on powerpc, we explicitely fill the > affinity masks at boot time when we can spread interrupts... Maybe we > should change it the other way around and limit the mask when we can't ? > It's hard to tell for sure at this stage. On sparc64 we look at the cpu mask configured for the interrupt and do one of two things: 1) If all bits are set, we round robin assign a cpu at IRQ enable time. 2) Else we pick the first bit set in the mask. One modification I want to make is to make case #1 NUMA aware. But back to my original wonder, since I've always tipped off of this generic IRQ layer cpu mask, when was it ever defaulting to zero and causing the behvaior your powerpc guys actually want? :-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists