diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-02-14 15:00:47 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-02-28 07:55:44 +0100 |
commit | ace35a7ac493d4284a57ad807579011bebba891c (patch) | |
tree | 98de82d8345d82e819eb5ba730098831ba7c6d03 /fs/nfs_common | |
parent | a0b0fd53e1e67639b303b15939b9c653dbe7a8c4 (diff) | |
download | linux-ace35a7ac493d4284a57ad807579011bebba891c.tar.bz2 |
locking/lockdep: Reuse list entries that are no longer in use
Instead of abandoning elements of list_entries[] that are no longer in
use, make alloc_list_entry() reuse array elements that have been freed.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman Long <longman@redhat.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: johannes.berg@intel.com
Cc: tj@kernel.org
Link: https://lkml.kernel.org/r/20190214230058.196511-13-bvanassche@acm.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/nfs_common')
0 files changed, 0 insertions, 0 deletions