Re: Way to Know When cleanup_net() Calls Are Done

2017-07-05 Thread Leon Yang
confusion. On Wed, Jul 5, 2017 at 6:14 PM, Cong Wang wrote: > On Sat, Jul 1, 2017 at 10:50 PM, Leon Yang wrote: >> Hi, >> >> I am measuring the time cost of parallel creation and destruction of >> net namespaces. >> >> As cleanup_net() is invoked from workque

Way to Know When cleanup_net() Calls Are Done

2017-07-01 Thread Leon Yang
Hi, I am measuring the time cost of parallel creation and destruction of net namespaces. As cleanup_net() is invoked from workqueue, the exit of a net namespace does not mean the cleanup is completed. Therefore I use ftrace to count the number of net_drop_ns() are called. But I found that the num