From the further brainstorming department...
It appears we are using the wait for the completion
for two distinct purposes.
Waiting until it is safe to free storage.
Blocking module unregistration until the all of the
users of the code are gone.
I'm wondering if we could move the memory freeing.
And consolidate the waiting ultimately moving the
wait for completion into netdev_run_todo after
we drop the lock.
The reason I care is that it looks like to get hotplug
handling sane, I'm going to need to implement a generic
version of what sysfs, proc and sysctl are doing, and I
expect that generic version belongs in the vfs ultimately
giving us the capability to implement revoke.
So I am going to be revisiting how the code works, and if
I can come up with a cleaner solution to the networking
stack it would be a good time to implement it.
Eric
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html