> > #if 0
> >             if ((blocksize/1024)*j/((jiffies-starttime)/HZ + 1) + 1
> >                                             > sysctl_speed_limit) {
> >                     current->priority = 0;
                        ^^^^^^^^^^^^^^^^^^^^^^
this is the real bug, it should be:
                        current->priority = 1;

yeah, stupid bug. You dont have to comment out the whole speed limit stuff
(it's rather useful you'll notice).

-- mingo

Reply via email to