Re: [uml-devel] Re: [patch 1/1] uml:fix ubd deadlock on SMP

From: BlaisorBlade
Date: Thu Sep 09 2004 - 13:29:56 EST


On Wednesday 08 September 2004 20:12, Chris Wright wrote:
> * blaisorblade_spam@xxxxxxxx (blaisorblade_spam@xxxxxxxx) wrote:
> > Trivial: don't lock the queue spinlock when called from the request
> > function. Since the faulty function must use spinlock in another case,
> > double-case it. And since we will never use both functions together, let
> > no object code be shared between them.
>
> Why not add a helper which locks around the core function. Then either
> call helper or core function directly depending on locking needs?
I'm happy with whatever is nicer.
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-
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/