Re: svn commit: r205090 - head/sys/dev/bge

2010-03-16 Thread Pyun YongHyeon
On Mon, Mar 15, 2010 at 09:31:52PM -0600, Scott Long wrote: > On Mar 12, 2010, at 11:18 AM, Pyun YongHyeon wrote: > > Author: yongari > > Date: Fri Mar 12 18:18:04 2010 > > New Revision: 205090 > > URL: http://svn.freebsd.org/changeset/base/205090 > > > > Log: > > Reorder interrupt handler a bit s

Re: svn commit: r205090 - head/sys/dev/bge

2010-03-15 Thread Scott Long
On Mar 12, 2010, at 11:18 AM, Pyun YongHyeon wrote: > Author: yongari > Date: Fri Mar 12 18:18:04 2010 > New Revision: 205090 > URL: http://svn.freebsd.org/changeset/base/205090 > > Log: > Reorder interrupt handler a bit such that producer/consumer > index of status block is read first before ackn

Re: svn commit: r205090 - head/sys/dev/bge

2010-03-15 Thread Pyun YongHyeon
On Tue, Mar 16, 2010 at 03:47:29AM +1100, Bruce Evans wrote: > On Sun, 14 Mar 2010, Pyun YongHyeon wrote: > > >On Sat, Mar 13, 2010 at 11:05:11PM +1100, Bruce Evans wrote: > >>On Fri, 12 Mar 2010, Pyun YongHyeon wrote: > >> > >>>Log: > >>>Reorder interrupt handler a bit such that producer/consumer

Re: svn commit: r205090 - head/sys/dev/bge

2010-03-15 Thread Bruce Evans
On Sun, 14 Mar 2010, Pyun YongHyeon wrote: On Sat, Mar 13, 2010 at 11:05:11PM +1100, Bruce Evans wrote: On Fri, 12 Mar 2010, Pyun YongHyeon wrote: Log: Reorder interrupt handler a bit such that producer/consumer index of status block is read first before acknowledging the interrupts. Otherwis

Re: svn commit: r205090 - head/sys/dev/bge

2010-03-14 Thread Pyun YongHyeon
On Sat, Mar 13, 2010 at 11:05:11PM +1100, Bruce Evans wrote: > On Fri, 12 Mar 2010, Pyun YongHyeon wrote: > > >Log: > > Reorder interrupt handler a bit such that producer/consumer > > index of status block is read first before acknowledging the > > interrupts. Otherwise bge(4) may get stale status

Re: svn commit: r205090 - head/sys/dev/bge

2010-03-13 Thread Bruce Evans
On Fri, 12 Mar 2010, Pyun YongHyeon wrote: Log: Reorder interrupt handler a bit such that producer/consumer index of status block is read first before acknowledging the interrupts. Otherwise bge(4) may get stale status block as acknowledging an interrupt may yield another status block update