]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Revert DEFAULT_NODE_LOCK_COUNT back to 7 (#40997)
authorMukund Sivaraman <muks@isc.org>
Fri, 4 Mar 2016 10:58:22 +0000 (16:28 +0530)
committerMukund Sivaraman <muks@isc.org>
Fri, 4 Mar 2016 11:01:07 +0000 (16:31 +0530)
(cherry picked from commit 09b9ffc02921fa674b5441a646759c485a9fc69f)

lib/dns/rbtdb.c

index 056e688002601ec7642f1a9de44996f6c33e99ec..79098e57933a2ef0d9a629cd0c74f5e420dc0642 100644 (file)
@@ -442,7 +442,7 @@ struct acachectl {
 #define NEGATIVE(header) \
        (((header)->attributes & RDATASET_ATTR_NEGATIVE) != 0)
 
-#define DEFAULT_NODE_LOCK_COUNT         523       /*%< Should be prime. */
+#define DEFAULT_NODE_LOCK_COUNT         7       /*%< Should be prime. */
 
 /*%
  * Number of buckets for cache DB entries (locks, LRU lists, TTL heaps).