[PATCH 0/4 V2] Avoid quadratic search when freeing delegations
From: NeilBrown
Date: Mon Apr 30 2018 - 00:32:04 EST
Following review from Mathieu (thanks) I've made some revisions
and split this into four patches. The RCU change is now in patch 3
by itself.
I've also revised the description in the main (final) patch quite
a bit.
Thanks,
NeilBrown
---
NeilBrown (4):
NFS: slight optimization for walking list for delegations
NFS: use cond_resched() when restarting walk of delegation list.
rculist: add list_for_each_entry_from_rcu()
NFS: Avoid quadratic search when freeing delegations.
fs/nfs/delegation.c | 66 ++++++++++++++++++++++++++++++++++++++++++-----
include/linux/rculist.h | 13 +++++++++
2 files changed, 72 insertions(+), 7 deletions(-)
--
Signature