You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2014/01/03 18:19:00 UTC
[29/50] git commit: Fix some typo about reclaimable freelist
Fix some typo about reclaimable freelist
Signed-off-by: Yunkai Zhang <qi...@taobao.com>
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/10189576
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/10189576
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/10189576
Branch: refs/heads/5.0.x
Commit: 101895767fd35fef048f7ce3f3bd5db5c4e8f9cb
Parents: c905388
Author: Yunkai Zhang <qi...@taobao.com>
Authored: Tue Dec 31 00:46:13 2013 +0800
Committer: Yunkai Zhang <qi...@taobao.com>
Committed: Tue Dec 31 00:49:39 2013 +0800
----------------------------------------------------------------------
configure.ac | 2 +-
lib/ts/ink_queue_ext.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/10189576/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 5d50b12..296246d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -401,7 +401,7 @@ if test "x${enable_freelist}" = "xyes"; then
[AS_HELP_STRING([--enable-reclaimable-freelist],
[enable reclaimable freelist support (effective only when freelist is enabled)])],
[],
- [enable_recalimable_freelist="yes"])
+ [enable_reclaimable_freelist="no"])
AC_MSG_RESULT([$enable_reclaimable_freelist])
else
enable_reclaimable_freelist="no"
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/10189576/lib/ts/ink_queue_ext.cc
----------------------------------------------------------------------
diff --git a/lib/ts/ink_queue_ext.cc b/lib/ts/ink_queue_ext.cc
index b34ecc8..4352487 100644
--- a/lib/ts/ink_queue_ext.cc
+++ b/lib/ts/ink_queue_ext.cc
@@ -354,7 +354,7 @@ ink_chunk_delete(InkFreeList *f, InkThreadCache *pCache, InkChunkInfo *pChunk)
/*
* TODO: I had used ink_atomic_increment() here, but it would
* lead to incorrect value in linux OS, I don't know why:
- * ink_atomic_decrement((int64_t *)&total_mem_in_byte, -f->chunk_byte_size);
+ * ink_atomic_increment((int64_t *)&total_mem_in_byte, -f->chunk_byte_size);
*
* So I create a new wrap, ink_atomic_decrement(), in ink_atomic.h,
* it works well. But we should create the same wrap for other OS.