Latest netdevice ref-count debugging patch is up.  The
patch is against 2.6.13:

http://www.candelatech.com/oss/rfcnt.patch


DaveM:  Please let me know what you think about including
this for 2.6.14.  Also, I was thinking we could probably always
compile for this feature but leave it disabled at kernel boot time
by default.  One could pass debug-ndrfcnt=1 or similar to the kernel
when booting to enable it.  The overhead should only be the cost of
passing 3 values (void*, char*, int) on the stack and an unlikely 'if'
to see if the feature is enabled in the get/hold methods...


Changes since last time:

*  Fixed up #defines so that when NOT compiling with ref-count debugging,
   there is no runtime impact.

*  Fixed some bugs I'd added during the conversion.

*  Added generic key (NDRK_GENERIC) for those who do not wish
   to create a specific key for their module(s).

*  Exported dump_rfcnt_info so that other modules can dump the
   entire table (or just references for a specific device).
   Currently only used in dev.c

Thanks,
Ben

--
Ben Greear <[EMAIL PROTECTED]>
Candela Technologies Inc  http://www.candelatech.com

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to