On Mon, Oct 20, 2008 at 10:52 PM, Matthew Dillon <[EMAIL PROTECTED]> wrote: > > :Please nuke the old patch I sent to you on IRC and test following one: > :http://leaf.dragonflybsd.org/~sephe/sendfile.diff1 > : > :Best Regards, > :sephe > > FreeBSD has a cute atomic_fetchadd_int() function that can also be > used. It is in /archive/FreeBSD-current/src/sys/i386/include/atomic.h.
You had added it :) Please test/review following patch: http://leaf.dragonflybsd.org/~sephe/sendfile.diff2 Best Regards, sephe -- Live Free or Die
