aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/cpus.py
diff options
context:
space:
mode:
authorAlexander Duyck <[email protected]>2016-12-01 07:27:57 -0500
committerDavid S. Miller <[email protected]>2016-12-05 13:15:58 -0500
commita52ca62c4a6771028da9c1de934cdbcd93d54bb4 (patch)
treead093923aaace74a845880a5707e997a4aa64647 /scripts/gdb/linux/cpus.py
parent1a239173cccff726b60ac6a9c79ae4a1e26cfa49 (diff)
ipv4: Drop suffix update from resize code
It has been reported that update_suffix can be expensive when it is called on a large node in which most of the suffix lengths are the same. The time required to add 200K entries had increased from around 3 seconds to almost 49 seconds. In order to address this we need to move the code for updating the suffix out of resize and instead just have it handled in the cases where we are pushing a node that increases the suffix length, or will decrease the suffix length. Fixes: 5405afd1a306 ("fib_trie: Add tracking value for suffix length") Reported-by: Robert Shearman <[email protected]> Signed-off-by: Alexander Duyck <[email protected]> Reviewed-by: Robert Shearman <[email protected]> Tested-by: Robert Shearman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions