Re: [PATCH][ATM] use rtnl_{lock,unlock} during device operations (take 2)

From: Werner Almesberger (wa@almesberger.net)
Date: Fri Jun 06 2003 - 19:20:26 EST


chas williams wrote:
> converted to a net device. this keeps me from needing to
> replicate the net device code (particularly the sysfs
> stuff -- or so i hope). netdevices already have a handy
> register/unregister that works (and will keep working).
> why would i want to duplicate the net device work?

Sure, particularly sysfs as "the next big thing" is a good reason
to align data structures and general semantics with the rest of
the stack.

The only thing that worries me in all this is Dave's request to
make device destruction asynchronous, because of the complexity
this is likely to add, for, IMHO, little or no gain.

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina         wa@almesberger.net /
/_http://www.almesberger.net/____________________________________________/
-
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 : Sat Jun 07 2003 - 22:00:31 EST