Re: [PATCH] spinlock not locked when unlocking in atm_dev_register

Mitchell Blank Jr (mitch@sfgoth.com)
Fri, 1 Mar 2002 15:06:09 -0800


Maksim Krasnyanskiy wrote:
> btw ATM locking seems to be messed up. Is anybody working on that ?

Yes, pretty badly. What we (the atm folks) really need to do for 2.5 is
rewrite a lot of code. The current driver model predates SMP in the kernel
and it's pretty much impossible to make a driver 100% SMP correct (although,
in practice, you can get pretty close and keep the races pretty tiny)
Really a lot of the driver model needs to be rethought.

As for maintainership I readily admit I haven't spent nearly as much time
as I would have liked on the ATM stuff in the last year or so. Too much
other work to do, etc. I'm really hoping to get some free time to play
with stuff in the next couple months... There are others actively working
on stuff. Particularly Paul Schroeder at IBM did a lot of good work on
the (long-suffering) userland tools.

Anyway I have been thinking that we should start kicking around ideas for
the next-generation ATM code. I'd recommend interested parties subscribe
to the linux-atm-general mailing list:
http://lists.sourceforge.net/lists/listinfo/linux-atm-general

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