On Thu, May 10, 2012 at 07:13:59PM +0200, Clemens Ladisch wrote: > I wrote: > > This (untested) patch tries to avoid too many busy looping. > > Oops, off-by-one error (avail == avail_min should not wait). This is better - it now sits around 2-14% system time. I guess the five loops is rather arbitary?