mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
Remove the last remnants of --with-tuning=large
The small/large tuning has been completely removed from the code with last remnant of the dead code in ns_interfacemgr. Remove the dead code and the configure option.
This commit is contained in:
parent
4613dca35b
commit
0bf7014f85
16
configure.ac
16
configure.ac
@ -1407,20 +1407,6 @@ AC_ARG_ENABLE([leak-detection],
|
|||||||
AS_CASE([$enable_leak_detection],
|
AS_CASE([$enable_leak_detection],
|
||||||
[yes],[AC_DEFINE([ENABLE_LEAK_DETECTION], [1], [Define to enable memory leak detection in external libraries])])
|
[yes],[AC_DEFINE([ENABLE_LEAK_DETECTION], [1], [Define to enable memory leak detection in external libraries])])
|
||||||
|
|
||||||
#
|
|
||||||
# was --with-tuning specified?
|
|
||||||
#
|
|
||||||
# [pairwise: --with-tuning=small, --without-tuning]
|
|
||||||
AC_ARG_WITH([tuning],
|
|
||||||
AS_HELP_STRING([--with-tuning=ARG],
|
|
||||||
[Specify server tuning (default or small)]),
|
|
||||||
[],[with_tuning=no])
|
|
||||||
|
|
||||||
AS_CASE([$with_tuning],
|
|
||||||
[small],[AC_MSG_NOTICE(using small system tuning)],
|
|
||||||
[AC_DEFINE(TUNE_LARGE, 1, [Define to use default system tuning.])
|
|
||||||
AC_MSG_NOTICE(using default system tuning)])
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# was --enable-querytrace or --enable-singletrace specified?
|
# was --enable-querytrace or --enable-singletrace specified?
|
||||||
#
|
#
|
||||||
@ -1674,7 +1660,6 @@ report() {
|
|||||||
if test "yes" = "$enable_full_report" -o "standard" = "$with_locktype"; then
|
if test "yes" = "$enable_full_report" -o "standard" = "$with_locktype"; then
|
||||||
echo " Mutex lock type: $with_locktype"
|
echo " Mutex lock type: $with_locktype"
|
||||||
fi
|
fi
|
||||||
test "small" = "$with_tuning" && echo " Small-system tuning (--with-tuning)"
|
|
||||||
test "no" = "$enable_dnstap" || \
|
test "no" = "$enable_dnstap" || \
|
||||||
echo " Allow 'dnstap' packet logging (--enable-dnstap)"
|
echo " Allow 'dnstap' packet logging (--enable-dnstap)"
|
||||||
test -z "$MAXMINDDB_LIBS" || echo " GeoIP2 access control (--enable-geoip)"
|
test -z "$MAXMINDDB_LIBS" || echo " GeoIP2 access control (--enable-geoip)"
|
||||||
@ -1719,7 +1704,6 @@ report() {
|
|||||||
echo " +------------------------------------------+"
|
echo " +------------------------------------------+"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
test "small" = "$with_tuning" || echo " Small-system tuning (--with-tuning)"
|
|
||||||
|
|
||||||
test "no" = "$enable_dnstap" && \
|
test "no" = "$enable_dnstap" && \
|
||||||
echo " Allow 'dnstap' packet logging (--enable-dnstap)"
|
echo " Allow 'dnstap' packet logging (--enable-dnstap)"
|
||||||
|
@ -56,12 +56,6 @@
|
|||||||
|
|
||||||
#define LISTENING(ifp) (((ifp)->flags & NS_INTERFACEFLAG_LISTENING) != 0)
|
#define LISTENING(ifp) (((ifp)->flags & NS_INTERFACEFLAG_LISTENING) != 0)
|
||||||
|
|
||||||
#ifdef TUNE_LARGE
|
|
||||||
#define UDPBUFFERS 32768
|
|
||||||
#else /* ifdef TUNE_LARGE */
|
|
||||||
#define UDPBUFFERS 1000
|
|
||||||
#endif /* TUNE_LARGE */
|
|
||||||
|
|
||||||
#define IFMGR_MAGIC ISC_MAGIC('I', 'F', 'M', 'G')
|
#define IFMGR_MAGIC ISC_MAGIC('I', 'F', 'M', 'G')
|
||||||
#define NS_INTERFACEMGR_VALID(t) ISC_MAGIC_VALID(t, IFMGR_MAGIC)
|
#define NS_INTERFACEMGR_VALID(t) ISC_MAGIC_VALID(t, IFMGR_MAGIC)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user