diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2014-12-31 13:55:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-31 18:25:53 -0500 |
commit | 8274a97aa4c694ad0d7b31b283a89dcca140e62b (patch) | |
tree | e97afff8ea3e1e16e99d8cefe98b373e886534f0 /drivers/power/reset/arm-versatile-reboot.c | |
parent | bec94d430f2c97159e21e38c0f1fa4da3710d5e1 (diff) |
fib_trie: Update usage stats to be percpu instead of global variables
The trie usage stats were currently being shared by all threads that were
calling fib_table_lookup. As a result when multiple threads were
performing lookups simultaneously the trie would begin to cache bounce
between those threads.
In order to prevent this I have updated the usage stats to use a set of
percpu variables. By doing this we should be able to avoid the cache
bouncing and still make use of these stats.
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/power/reset/arm-versatile-reboot.c')
0 files changed, 0 insertions, 0 deletions