Re: [RFC v2 4/4] locks: Use blocked_lock_lock only to protect blocked_hash

2015-03-02 Thread Jeff Layton
On Mon, 2 Mar 2015 15:25:13 +0100 Daniel Wagner wrote: > blocked_lock_lock and file_lock_lglock is used to protect file_lock's > fl_link, fl_block, fl_next, blocked_hash and the percpu > file_lock_list. > > The plan is to reorganize the usage of the locks and what they protect > so that the

[RFC v2 4/4] locks: Use blocked_lock_lock only to protect blocked_hash

2015-03-02 Thread Daniel Wagner
blocked_lock_lock and file_lock_lglock is used to protect file_lock's fl_link, fl_block, fl_next, blocked_hash and the percpu file_lock_list. The plan is to reorganize the usage of the locks and what they protect so that the usage of the global blocked_lock_lock is reduced. Whenever we insert a

Re: [RFC v2 4/4] locks: Use blocked_lock_lock only to protect blocked_hash

2015-03-02 Thread Jeff Layton
On Mon, 2 Mar 2015 15:25:13 +0100 Daniel Wagner daniel.wag...@bmw-carit.de wrote: blocked_lock_lock and file_lock_lglock is used to protect file_lock's fl_link, fl_block, fl_next, blocked_hash and the percpu file_lock_list. The plan is to reorganize the usage of the locks and what they

[RFC v2 4/4] locks: Use blocked_lock_lock only to protect blocked_hash

2015-03-02 Thread Daniel Wagner
blocked_lock_lock and file_lock_lglock is used to protect file_lock's fl_link, fl_block, fl_next, blocked_hash and the percpu file_lock_list. The plan is to reorganize the usage of the locks and what they protect so that the usage of the global blocked_lock_lock is reduced. Whenever we insert a