Witold Kręcicki
cdbac34cba
Get rid of isc_bind9 conditional
2018-10-18 09:19:12 +00:00
Mark Andrews
d4cc0b98de
use PRIuFAST32 instead of PRIdFAST32
2018-10-03 07:59:18 +10:00
Ondřej Surý
0f24c55d38
Refactor *_destroy and *_detach functions to unified order of actions.
...
This properly orders clearing the freed pointer and calling isc_refcount_destroy
as early as possible to have ability to put proper memory barrier when cleaning
up reference counting.
2018-08-28 13:15:59 +02:00
Ondřej Surý
bef8ac5bae
Rewrite isc_refcount API to fetch_and_<op>, instead of former <op>_and_<fetch>
2018-08-28 12:15:39 +02:00
Ondřej Surý
93e8ba1b50
Rewrite reference counting in isc_mem to use isc_refcount API
2018-08-28 12:15:39 +02:00
Mark Andrews
5dd1beec8e
mempool didn't work for sizes less than sizeof(void*)
2018-08-14 03:47:14 -04:00
Ondřej Surý
994e656977
Replace custom isc_boolean_t with C standard bool type
2018-08-08 09:37:30 +02:00
Ondřej Surý
cb6a185c69
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
2018-08-08 09:37:28 +02:00
Ondřej Surý
64fe6bbaf2
Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants
2018-08-08 09:36:44 +02:00
Mukund Sivaraman
3adcc033f6
Don't keep around debuglist structs when done
2018-05-11 11:17:14 +10:00
Mukund Sivaraman
b9886abd86
Reduce number of buckets in tracklines debuglink table
...
With 1044 res contexts, each with 65536 debuglink structs of 16 bytes
each, the debuglink table itself was consuming 1GB+ of memory.
2018-05-11 11:17:14 +10:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Mark Andrews
5bc9ede092
use %u instead of %d
2018-02-16 10:20:38 +11:00
Ondřej Surý
4ff2d36adc
Remove whole unused ondestroy callback mechanism
2018-02-12 14:49:32 +01:00
Mark Andrews
a922385850
mem.c failed to compile if ISC_MEM_CHECKOVERRUN=0
2018-01-05 12:13:17 +11:00
Tinderbox User
10e49fc83b
update copyright notice / whitespace
2018-01-04 23:45:32 +00:00
Mark Andrews
a0e66ef6dd
unconditionally typedef summarystat_t for coverity
2018-01-05 10:10:34 +11:00
Mark Andrews
14e9925868
add missing entries to .def files [RT #46215 ]
2017-11-27 13:49:39 +11:00
Evan Hunt
c89f1bf1b6
[master] turn off memory fill by default
...
4768. [func] By default, memory is no longer filled with tag values
when it is allocated or freed; this improves
performance but makes debugging of certain memory
issues more difficult. "named -M fill" turns memory
filling back on. (Building "configure
--enable-developer", turns memory fill on by
default again; it can then be disabled with
"named -M nofill".) [RT #45123 ]
2017-10-09 09:55:37 -07:00
Mark Andrews
a009d03a1a
4748. [cleanup] Sprintf to snprintf coversions. [RT #46132 ]
2017-10-03 14:54:19 +11:00
Mark Andrews
cb629cdeda
more str{n}{cat,cpy} corrections rt45981_stage2
2017-09-14 18:11:56 +10:00
Evan Hunt
8eb88aafee
[master] add libns and remove liblwres
...
4708. [cleanup] Legacy Windows builds (i.e. for XP and earlier)
are no longer supported. [RT #45186 ]
4707. [func] The lightweight resolver daemon and library (lwresd
and liblwres) have been removed. [RT #45186 ]
4706. [func] Code implementing name server query processing has
been moved from bin/named to a new library "libns".
Functions remaining in bin/named are now prefixed
with "named_" rather than "ns_". This will make it
easier to write unit tests for name server code, or
link name server functionality into new tools.
[RT #45186 ]
2017-09-08 13:47:34 -07:00
Mukund Sivaraman
af4b4bef7a
Refactor tracklines code ( #45126 )
2017-08-24 10:58:55 +05:30
Mark Andrews
4bf32aa587
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
...
[RT #45538 ]
2017-07-21 11:52:24 +10:00
Mark Andrews
8c6ed0fe5f
4607. [bug] The memory context's malloced and maxmalloced counters
...
were being updated without the appropriate lock being
held. [RT #44869 ]
2017-04-24 11:33:30 +10:00
Tinderbox User
1f6505a424
update copyright notice / whitespace
2017-04-22 23:45:41 +00:00
Mukund Sivaraman
03be5a6b4e
Improve performance for delegation heavy answers and also general query performance ( #44029 )
2017-04-22 09:22:44 +05:30
Mark Andrews
4a85cab586
mem_put/mem_get were inconsistent in updating ctx->malloced if ISC_MEM_CHECKOVERRUN was defined
2017-02-03 12:39:35 +11:00
Tinderbox User
194f07c628
update copyright notice / whitespace
2017-02-02 23:45:47 +00:00
Mark Andrews
f783c2d579
4562. [func] Add additional memory statistics currently malloced
...
and maxmalloced per memory context. [RT #43593 ]
2017-02-02 15:36:38 +11:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Witold Krecicki
7a00d69909
4376. [experimental] Added support for Catalog Zones, a new method for
...
provisioning secondary servers in which a list of
zones to be served is stored in a DNS zone and can
be propagated to slaves via AXFR/IXFR. [RT #41581 ]
4375. [func] Add support for automatic reallocation of isc_buffer
to isc_buffer_put* functions. [RT #42394 ]
2016-05-26 21:23:19 +02:00
Tinderbox User
220ba6da87
update copyright notice / whitespace
2016-03-04 23:45:23 +00:00
Evan Hunt
d4ed29b019
[rt41656] line length
...
(cherry picked from commit 6957e9451cc7bf89d44716dfe4266281867e00e5)
2016-03-04 13:01:54 +05:30
Mukund Sivaraman
9da98335c1
Code cleanups ( #41656 )
2016-03-04 12:18:17 +05:30
Evan Hunt
fc5f1971a1
[master] fix build error with ISC_MEM_TRACKLINES=0
2015-07-09 14:23:29 -07:00
Mukund Sivaraman
fba894c98b
Some cleanups in isc mem code ( #38896 )
2015-03-27 23:12:11 +05:30
Mukund Sivaraman
24f2cc7d06
Fix a possible race in updating stats counters ( #38826 )
...
and do some other isc mem cleanups.
2015-03-09 10:30:47 +05:30
Mukund Sivaraman
5a505fc4c2
Add facility to run system test nameds under Valgrind ( #38546 )
2015-02-25 09:06:45 +05:30
Evan Hunt
84ee90b52d
[master] fix 'total use' accounting
...
4046. [bug] Accounting of "total use" in memory context
statistics was not correct. [RT #38370 ]
2015-01-22 09:44:24 -08:00
Tinderbox User
c110d61b17
update copyright notice / whitespace
2015-01-20 23:45:26 +00:00
Evan Hunt
11463c0ac2
[master] clean up gcc -Wshadow warnings
...
4039. [cleanup] Cleaned up warnings from gcc -Wshadow. [RT #37381 ]
2015-01-20 13:29:18 -08:00
Mark Andrews
50a7454174
3868. [bug] isc_mem_setwater incorrectly cleared hi_called
...
potentially leaving over memory cleaner running.
[RT #35270 ]
2014-06-02 16:31:42 +10:00
Evan Hunt
b454c03196
[master] use ANSI prototypes, clean up some casts
2014-03-04 10:42:25 -08:00
Tinderbox User
431a83fb29
update copyright notice
2014-01-09 23:46:35 +00:00
Evan Hunt
e851ea8260
[master] replace memcpy() with memmove().
...
3698. [cleanup] Replaced all uses of memcpy() with memmove().
[RT #35120 ]
2014-01-08 16:39:05 -08:00
Mark Andrews
c3c8823fed
3681. [port] Update the Windows build system to support feature
...
selection and WIN64 builds. This is a work in
progress. [RT #34160 ]
2013-12-04 12:47:23 +11:00
Mark Andrews
45b727f651
silence coverity warnings
2013-04-11 17:07:50 +10:00
Tinderbox User
12253af346
update copyright notice
2013-04-10 23:46:01 +00:00
Evan Hunt
b99bfa184b
[master] unify internal and export libraries
...
3550. [func] Unified the internal and export versions of the
BIND libraries, allowing external clients to use
the same libraries as BIND. [RT #33131 ]
2013-04-10 13:49:57 -07:00