Repository: trafficserver Updated Branches: refs/heads/master e5f2bb554 -> 8861a399c
TS-3417: Remove config and just always enable when available Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8861a399 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8861a399 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8861a399 Branch: refs/heads/master Commit: 8861a399c21324187dc8be64435911b09c9c7fb3 Parents: e5f2bb5 Author: Phil Sorber <[email protected]> Authored: Thu Mar 12 14:13:58 2015 -0600 Committer: Phil Sorber <[email protected]> Committed: Thu Mar 12 14:13:58 2015 -0600 ---------------------------------------------------------------------- iocore/eventsystem/IOBuffer.cc | 9 +-------- mgmt/RecordsConfig.cc | 2 -- 2 files changed, 1 insertion(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8861a399/iocore/eventsystem/IOBuffer.cc ---------------------------------------------------------------------- diff --git a/iocore/eventsystem/IOBuffer.cc b/iocore/eventsystem/IOBuffer.cc index 56abb20..2ac527b 100644 --- a/iocore/eventsystem/IOBuffer.cc +++ b/iocore/eventsystem/IOBuffer.cc @@ -25,9 +25,7 @@ UIOBuffer.cc **************************************************************************/ -#include "ink_defs.h" #include "P_EventSystem.h" -#include "I_RecCore.h" // // General Buffer Allocator @@ -50,12 +48,7 @@ init_buffer_allocators() int advice = 0; #ifdef MADV_DONTDUMP // This should only exist on Linux 3.4 and higher. - bool dont_dump_enabled; - RecGetRecordBool("proxy.config.allocator.dontdump_iobuffers", (RecBool *)&dont_dump_enabled, false); - - if (dont_dump_enabled) { - advice = MADV_DONTDUMP; - } + advice = MADV_DONTDUMP; #endif for (int i = 0; i < DEFAULT_BUFFER_SIZES; i++) { http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8861a399/mgmt/RecordsConfig.cc ---------------------------------------------------------------------- diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc index 76d6cb2..a394a9a 100644 --- a/mgmt/RecordsConfig.cc +++ b/mgmt/RecordsConfig.cc @@ -2064,8 +2064,6 @@ static const RecordElement RecordsConfig[] = , {RECT_CONFIG, "proxy.config.allocator.thread_freelist_low_watermark", RECD_INT, "32", RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL} , - {RECT_CONFIG, "proxy.config.allocator.dontdump_iobuffers", RECD_INT, "0", RECU_NULL, RR_NULL, RECC_NULL, "[0-1]", RECA_NULL} - , //############ //#
