Re: [PATCH ] workqueue: add args to workqueue lockdep name

2014-02-14 Thread Tejun Heo
On Fri, Feb 14, 2014 at 10:52:57AM +0800, Li Zhong wrote: > Tommi noticed a 'funny' lock class name: "%s#5" from a lock acquired in > process_one_work(). > > Maybe #fmt plus #args could be used as the lock_name to give some more > information for some fmt string like the above. > > __builtin_con

[PATCH ] workqueue: add args to workqueue lockdep name

2014-02-13 Thread Li Zhong
Tommi noticed a 'funny' lock class name: "%s#5" from a lock acquired in process_one_work(). Maybe #fmt plus #args could be used as the lock_name to give some more information for some fmt string like the above. __builtin_constant_p() check is removed (as there seems no good way to check all the