Thread (31 messages) 31 messages, 4 authors, 2020-03-10
STALE2293d
Revisions (2)
  1. rfc [diff vs current]
  2. v2 current

[PATCH v2 1/7] Documentation: deltaBaseCacheLimit is per-thread

From: Jonathan Tan <hidden>
Date: 2019-10-17 20:17:33
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

Clarify that core.deltaBaseCacheLimit is per-thread, as can be seen from
the fact that cache usage (base_cache_used in struct thread_local in
builtin/index-pack.c) is tracked individually for each thread and
compared against delta_base_cache_limit.

Signed-off-by: Jonathan Tan <redacted>
---
 Documentation/config/core.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/config/core.txt b/Documentation/config/core.txt
index 852d2ba37a..ce1ba8d55f 100644
--- a/Documentation/config/core.txt
+++ b/Documentation/config/core.txt
@@ -388,7 +388,7 @@ the largest projects.  You probably do not need to adjust this value.
 Common unit suffixes of 'k', 'm', or 'g' are supported.
 
 core.deltaBaseCacheLimit::
-	Maximum number of bytes to reserve for caching base objects
+	Maximum number of bytes per thread to reserve for caching base objects
 	that may be referenced by multiple deltified objects.  By storing the
 	entire decompressed base objects in a cache Git is able
 	to avoid unpacking and decompressing frequently used base
-- 
2.23.0.866.gb869b98d4c-goog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help