summaryrefslogtreecommitdiffstats
path: root/fs/pstore
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@redhat.com>2015-03-04 23:58:19 +0100
committerDavid S. Miller <davem@davemloft.net>2015-03-05 05:35:17 +0100
commit7289e6ddb633aaee6ccea2bd2e410654c47b29a6 (patch)
treeabef72d0cdcb8e0701e6b97c9b3481ca01cd4566 /fs/pstore
parentMerge tag 'linux-can-next-for-4.1-20150304' of git://git.kernel.org/pub/scm/l... (diff)
downloadlinux-7289e6ddb633aaee6ccea2bd2e410654c47b29a6.tar.xz
linux-7289e6ddb633aaee6ccea2bd2e410654c47b29a6.zip
fib_trie: Only resize tnodes once instead of on each leaf removal in fib_table_flush
This change makes it so that we only call resize on the tnodes, instead of from each of the leaves. By doing this we can significantly reduce the amount of time spent resizing as we can update all of the leaves in the tnode first before we make any determinations about resizing. As a result we can simply free the tnode in the case that all of the leaves from a given tnode are flushed instead of resizing with each leaf removed. Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/pstore')
0 files changed, 0 insertions, 0 deletions