summaryrefslogtreecommitdiff
path: root/mm/swap.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-11-13 00:00:56 +0400
committerJ. Bruce Fields <bfields@redhat.com>2012-11-13 03:55:11 +0400
commitac55fdc408039b425a2fa3cbcaed7444e5339f9a (patch)
tree6fb1420263d6f06ddb27b9b7943ffed50f7d638d /mm/swap.c
parent0ce0c2b5d23080eec39ccc52354be1eea326ed5f (diff)
downloadlinux-ac55fdc408039b425a2fa3cbcaed7444e5339f9a.tar.xz
nfsd: move the confirmed and unconfirmed hlists to a rbtree
The current code requires that we md5 hash the name in order to store the client in the confirmed and unconfirmed trees. Change it instead to store the clients in a pair of rbtrees, and simply compare the cl_names directly instead of hashing them. This also necessitates that we add a new flag to the clp->cl_flags field to indicate which tree the client is currently in. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions