zfs/lib/libspl
наб 9a865b7fb7 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 <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11904
Closes #12252
Closes #12244
2021-06-21 21:48:31 -07:00
..
include Remove pool io kstats 2021-06-10 10:50:16 -07:00
os libzfs: On FreeBSD, use MNT_NOWAIT with getfsstat 2021-06-09 13:05:34 -07:00
Makefile.am libspl: implement atomics in terms of atomics 2021-06-21 21:48:31 -07:00
assert.c Move libspl_assertf into .c file 2020-07-10 14:25:24 -07:00
atomic.c libspl: implement atomics in terms of atomics 2021-06-21 21:48:31 -07:00
list.c Fixing gang ABD child removal race condition 2020-07-14 11:04:35 -07:00
mkdirp.c Fix typos in lib/ 2019-09-02 17:53:27 -07:00
page.c ABD optimized page allocation code 2016-11-29 14:34:33 -08:00
strlcat.c Check for strlcat and strlcpy 2018-12-11 16:01:41 -08:00
strlcpy.c Check for strlcat and strlcpy 2018-12-11 16:01:41 -08:00
timestamp.c Always use "%lld" for formatting time_ts 2020-05-28 10:29:58 -07:00