Hi!

Yes, this seems to be a good solution.

Vojtech

On Sat, Apr 15, 2000 at 09:56:28PM +0200, Pavel Machek wrote:
> Hi!
> 
> Acm uses scheduler_bh, and that can take pretty long to
> schedule. Immediate_bh seems to be better choice. This gets 2 times
> speed of current kernel, and brings it back to 2.3.40 level.
> 
>                                                               Pavel
> 
> --- clean//drivers/usb/acm.c  Sat Apr 15 13:11:31 2000
> +++ linux/drivers/usb/acm.c   Sat Apr 15 13:08:45 2000
> @@ -261,7 +261,8 @@
>       if (urb->status)
>               dbg("nonzero write bulk status received: %d", urb->status);
>  
> -     queue_task(&acm->tqueue, &tq_scheduler);
> +     queue_task(&acm->tqueue, &tq_immediate);
> +     mark_bh(IMMEDIATE_BH);
>  }
>  
>  static void acm_softint(void *private)
> 
> -- 
> I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care."
> Panos Katsaloulis describing me w.r.t. patents me at [EMAIL PROTECTED]

-- 
Vojtech Pavlik
SuSE Labs

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to