Re: [Patch net] net: get rid of lockdep_set_class_and_subclass()

2020-06-29 Thread David Miller
From: Cong Wang Date: Fri, 26 Jun 2020 11:24:22 -0700 > lockdep_set_class_and_subclass() is meant to reduce > the _nested() annotations by assigning a default subclass. > For addr_list_lock, we have to compute the subclass at > run-time as the netdevice topology changes after creation. > > So, w

[Patch net] net: get rid of lockdep_set_class_and_subclass()

2020-06-26 Thread Cong Wang
lockdep_set_class_and_subclass() is meant to reduce the _nested() annotations by assigning a default subclass. For addr_list_lock, we have to compute the subclass at run-time as the netdevice topology changes after creation. So, we should just get rid of these lockdep_set_class_and_subclass() and