Re: [patch] optimise loop driver a bit
From: Andrew Morton
Date: Tue Apr 26 2005 - 07:06:56 EST
Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:
>
> Looks like locking can be optimised quite a lot.
So I've peered suspiciously at the ->lo_pending handling for some time and
am unconvinced. Are you sure that the error path in loop_make_request() is
correct? The old code decremented the pending count in there.
Why do we need that nasty-looking `pending' local in loop_thread()?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/