I was browsing thru the source code looking into the serial.h
and noticed somethings:
A serial device has an IRQ (duh right) and associated
interrupts. A serial device has 4 lines that can interrupt CTS,
DSR, RI, DCD.
On an SMP machine IS it possible that 2 of these lines interrupt
at the same time on different CPU's?
Granted that there will be a fraction of a second and one CPU
will get the resources it needs and the other will be 'blocked',
but can an interrupt be intterrupted?
I then started looking into interrupts.h and irq.c where I
found:
83 * Spurious interrupts can confuse other drivers if
the PCI
84 * IRQ line is shared.
Does 2 CPU's count as sharing an IRQ? They are after all sharing
the same PCI bus and could both be accessing the same device on
that bus at roughtly the same time.
Incedentally this is where we see the message
89 printk("unexpected IRQ vector %d on CPU#%d!\n",irq,
smp_processor_id());
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]