Commits
- Commit:
54a0941e2bddd450b0797100b3218423b940f833
- From:
- Omar Polo <op@omarpolo.com>
- Date:
release the memory used by the object cache
Leak spotted by valgrind. ok stsp@
- Commit:
a97a5e436f0c35f5f40df274a89fd20be2d63801
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix NULL deref in the object cache debug code; ok stsp@
it's not in code compiled by default as it's under GOT_OBJ_CACHE_DEBUG.
- Commit:
977259281baa8a7a2776eefc691db02976cae993
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
keep track of the size of the largest object which entered an object cache
- Commit:
98275f2eefb932aee3f1824f53c268fd736f6c5f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mark check_refcount as static
needed because of -Wmissig-prototypes; ok stsp@
- Commit:
977143974aa7ea0d5df19a556344adf0880276c1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
object cache: if kicking an object out to make space, reuse its mem allocation
- Commit:
336075a42a5ae0fa322db734c481d21998e82bb8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
build with -Wmissing-prototypes
ok stsp@
- Commit:
d7b5a0e827bb38e5c8502f0ba8d7838fedaba19b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
inline struct got_object_id in struct got_object_qid
Saves us from doing a malloc/free call for every item on the list.
ok op@
- Commit:
c0df59665de91324eeab1808c6c4e41343f21789
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
wrap overlong lines
- Commit:
d3c116bf7268bde4ceb3311eb4ed995fc4776487
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache raw objects in order to speed up gotadmin pack
- Commit:
dbdddfee1482b50ca8c4a0be06e4fec6a59fb9f4
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch from SIMPLEQ to equivalent STAILQ macros
The singly-linked tail queue macros were added to OpenBSD 6.9 and
are more widely available on other systems.
ok stsp
- Commit:
f73df793baa4ec89bcbfb0fddb9765c4187defc8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
increase tag cache size; makes tog more responsive when many tags exist
- Commit:
56e0773df7e12fc69c1f6f9d171c93fd78a13d0e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert tree entries from SIMPLEQ to an array
- Commit:
5f25cc858267bf6a334ed243cd4ceaa4bcb851d6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove obj->path_packfile which is unused nowadays; saves a few free() calls
- Commit:
42c69117cce2e1658d5b5aabbc383ce7252cf167
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop storing decompressed delta data in struct got_delta; fetch it on demand
- Commit:
a0de39f3978b1d152679279d6e2f82d573e81209
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix build on OpenBSD/sparc64 (gcc)
- Commit:
79c99a64af2fcd11a3c60a54f989167ef4a72310
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't leak objects which can't be cached
- Commit:
01cd76145e99ea71ca66e60e659e21237b1240e6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add cache debug output for too large elements
- Commit:
a60c9e772e2560a97c782a5dbe5269e6c5ad9d1f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't cache objects larger than 1MB
- Commit:
2ee32b237b2ca32a44543f7e32f3d1b2757115b8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix build with -DGOT_OBJ_CACHE_DEBUG
- Commit:
638f9024045bbe2420143f8868dcc484c231c634
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_error_prefix_errno() to got_error_from_errno()
- Commit:
230a42bdc60c6136d2a5ce65bf1a2f26d990c096
- From:
- joshua stein <jcs@jcs.org>
- Date:
got_error_from_errno -> got_error_prefix_errno
also add got_error_prefix_errno2 and got_error_prefix_errno3 which
should hopefully all be merged into a single function with variadic
args (but can't alloc mem)
- Commit:
f4a881ce8b200e5283247799c39abd2b578b8e75
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
more support for tag objects; new code is not yet reachable
- Commit:
cb103d042c6d1e6cb1483ffa71f54577a8564d9a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow got_object_idset_for_each() to return an error
- Commit:
f054b67ad04873dfbc5d2644a77c3cf422af3c67
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove object_idcache; use object_idset instead
- Commit:
507aef8f8e1be34cae656c48f04b5c814d8a7b76
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
no need to zero object cache entries during allocation