Re: [PATCH] Clean up brlocks/lglocks

From: Andrew Morton
Date: Thu Sep 29 2011 - 18:36:25 EST


On Wed, 28 Sep 2011 16:30:44 -0700
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> lglocks and brlocks are currently generated with some complicated macros
> in lglock.h. But there's no reason, I can see, to not just use common
> utility functions that get pointers to the lglock.

https://lkml.org/lkml/2011/8/24/454 makes me suspect that there's a bug
in brlocks, or they're being misused in some way. However the code
doesn't have an identifiable maintainer, so things just sit there.

I guess these problems don't preclude cosmetic cleanups, but it's all a
bit regrettable.

--
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/