diff options
author | наб <[email protected]> | 2021-04-19 07:13:24 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-06-21 21:48:31 -0700 |
commit | 9a865b7fb70f44e988f59b31b38eabafe363d6f8 (patch) | |
tree | b17463258569f37fd0d162062f4e1f728e263714 /module | |
parent | 3de7aeb68ac1cc1fedd99506671d9028ad1a3c20 (diff) |
libspl: implement atomics in terms of atomics
This replaces the generic libspl atomic.c atomics implementation
with one based on builtin gcc atomics. This functionality was added
as an experimental feature in gcc 4.4. Today even CentOS 7 ships
with gcc 4.8 as the default compiler we can make this the default.
Furthermore, the builtin atomics are as good or better than our
hand-rolled implementation so it's reasonable to drop that custom code.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #11904
Closes #12252
Closes #12244
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions