diff options
author | jaszha03 <jason.zhang2@arm.com> | 2019-09-27 12:52:18 -0500 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-10-29 17:33:16 +0000 |
commit | ee7437669c542a9497f1c3a5dde7af19b7244e35 (patch) | |
tree | b03f1babcefa8eea8d8e18797b0cfe5b6f610219 /gmod | |
parent | 04c0130f588eb11114c17d925a7a928c8f900b9b (diff) |
ip: refactor ip4_mtrie to use atomic store-release
ip4_mtrie used full memory barrier compare-and-swap in set_leaf () and
set_root_leaf () even though only one thread updates the trie. Replaced
such instances of compare-and-swap with atomic store-release.
Type: refactor
Change-Id: Ic6e3c84480697915541acd16dcc630d1c436137d
Signed-off-by: Jason Zhang <jason.zhang2@arm.com>
Reviewed-by: Lijian Zhang <Lijian.Zhang@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Diffstat (limited to 'gmod')
0 files changed, 0 insertions, 0 deletions