diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2014-12-31 10:56:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-31 18:25:55 -0500 |
commit | fc86a93b46d707c6e245b15127409340eaf6ae47 (patch) | |
tree | f9afe1a27b36376fd02ff2766d96a876c9904e98 /tools/perf/scripts/python/check-perf-trace.py | |
parent | ff181ed8768fa57fbda40fa97914f27fe275129b (diff) |
fib_trie: Push tnode flushing down to inflate/halve
This change pushes the tnode freeing down into the inflate and halve
functions. It makes more sense here as we have a better grasp of what is
going on and when a given cluster of nodes is ready to be freed.
I believe this may address a bug in the freeing logic as well. For some
reason if the freelist got to a certain size we would call
synchronize_rcu(). I'm assuming that what they meant to do is call
synchronize_rcu() after they had handed off that much memory via
call_rcu(). As such that is what I have updated the behavior to be.
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions