mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
[master] isc_atomic_storeq()/stats improvements
4248. [func] Add an isc_atomic_storeq() function, use it in stats counters to improve performance. [RT #39972] [RT #39979]
This commit is contained in:
@@ -383,6 +383,7 @@ my @substdefh = ("AES_SIT",
|
||||
my %configdefp;
|
||||
|
||||
my @substdefp = ("ISC_PLATFORM_HAVEATOMICSTORE",
|
||||
"ISC_PLATFORM_HAVEATOMICSTOREQ",
|
||||
"ISC_PLATFORM_HAVECMPXCHG",
|
||||
"ISC_PLATFORM_HAVEXADD",
|
||||
"ISC_PLATFORM_HAVEXADDQ",
|
||||
@@ -1305,6 +1306,7 @@ if ($enable_intrinsics eq "yes") {
|
||||
$configdefp{"ISC_PLATFORM_HAVEXADD"} = 1;
|
||||
if ($want_x64 eq "yes") {
|
||||
$configdefp{"ISC_PLATFORM_HAVEXADDQ"} = 1;
|
||||
$configdefp{"ISC_PLATFORM_HAVEATOMICSTOREQ"} = 1;
|
||||
}
|
||||
$configdefp{"ISC_PLATFORM_HAVEATOMICSTORE"} = 1;
|
||||
$configdefp{"ISC_PLATFORM_HAVECMPXCHG"} = 1;
|
||||
|
Reference in New Issue
Block a user