mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 09:09:59 -04:00
fix: dev: do not inline dns_zone_gethooktable
Since !10959 `dns_zone_gethooktable()` is only called once per query, and the suspicion (from perflab analysis) that this (simple, as just returning a pointer) call was slowing things down (perhaps because of code locality reasons?) doesn't matter anymore. So even if !10959 inlined it, it shouldn't matter anymore. Merge branch 'colin/minimize-hooktable-lookup-followup' into 'main' See merge request isc-projects/bind9!10962
This commit is contained in:
commit
e7156fe57a
1 changed files with 1 additions and 1 deletions
|
|
@ -24874,7 +24874,7 @@ dns_zone_setrad(dns_zone_t *zone, dns_name_t *name) {
|
|||
rcu_read_unlock();
|
||||
}
|
||||
|
||||
inline void *
|
||||
void *
|
||||
dns_zone_gethooktable(dns_zone_t *zone) {
|
||||
REQUIRE(DNS_ZONE_VALID(zone));
|
||||
return zone->hooktable;
|
||||
|
|
|
|||
Loading…
Reference in a new issue