Re: yield in pf_table

2010-10-31 Thread Ted Unangst
On Fri, 29 Oct 2010, Ted Unangst wrote: > On Fri, 29 Oct 2010, Ted Unangst wrote: > > > now that the atomic flag is gone, the yield diff is simpler. once again, > > the idea is that unbounded (or of unknown bounds) loops in the kernel are > > bad because you hog the cpu. so be polite and yiel

Re: yield in pf_table

2010-10-28 Thread Damien Miller
On Fri, 29 Oct 2010, Ted Unangst wrote: > On Fri, 29 Oct 2010, Ted Unangst wrote: > > > now that the atomic flag is gone, the yield diff is simpler. once again, > > the idea is that unbounded (or of unknown bounds) loops in the kernel are > > bad because you hog the cpu. so be polite and yiel

Re: yield in pf_table

2010-10-28 Thread Ted Unangst
On Fri, 29 Oct 2010, Ted Unangst wrote: > now that the atomic flag is gone, the yield diff is simpler. once again, > the idea is that unbounded (or of unknown bounds) loops in the kernel are > bad because you hog the cpu. so be polite and yield from time to time. > > anybody use tables heavil

yield in pf_table

2010-10-28 Thread Ted Unangst
now that the atomic flag is gone, the yield diff is simpler. once again, the idea is that unbounded (or of unknown bounds) loops in the kernel are bad because you hog the cpu. so be polite and yield from time to time. anybody use tables heavily want to give it a test? :) Index: pf_table.c ===