Re: [PATCH 2.5] fixes for airo.c

From: Christoph Hellwig (hch@infradead.org)
Date: Mon Jul 21 2003 - 07:37:58 EST


On Mon, Jul 21, 2003 at 01:00:54PM +0200, Javier Achirica wrote:
>
> Daniel,
>
> Thank you for your patch. Some comments about it:
>
> - I'd rather fix whatever is broken in the current code than going back to
> spinlocks, as they increase latency and reduce concurrency. In any case,
> please check your code.

In general we prefer spinlocks in linux for drivers unless there's a
very good reason against it. If you have latency or concurrency problems
it seems you have problems with your algorithms or the length of your
critical sections.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:42 EST