lkml.org 
[lkml]   [1998]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.1.131-ac3 3c509 no irq_save in the sender code
Date
> to run while the TX is on the fly. But to do that we don' t need the
> spin_lock in el3_interrupt, update_stats will just spin on the lock itself
> if needed. And disable_irq() just synchronize_irqs itself btw (I was wrong
> in my last email).

You need the lock to protect update stats being called by user space
(eg cat /proc/net/dev) during an IRQ on the other processor or you have
a similar pattern of accidents with the read fifo pulling data out of the
stats buffer

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.042 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site