Commits
- Commit:
cd9fd5e0d5b8c88463511594445afdee1f2d440b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a separate compile-time DEBUG flag for the delta cache
- Commit:
c94b2859b3b5268adec2353832d0491a11382f83
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
upate number elements stored in the delta cache when removing an element
- Commit:
345f650943608219909e5b5b0e5d77c4c9ca26bb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reduce delta cache size to avoid running out of memory on large pack files
As reported by Jerome Kasper, got-index-pack would run out of memory while
cloning projects like LLVM or the Linux kernel. The delta cache was pushed
to its maximum size limit of ~2GB, which is much higher than the default
user data limit on OpenBSD. Set the delta cache size limits to values which
should result in the cache limiting itself to 128MB or less.
- Commit:
b5a8f7447cf93c910aa0933817b85799080ce17d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add dedicated compilation flag for the delta cache, separate from object cache
- Commit:
8b925c6ccd3968917253ea191906a1710c40ed2d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add back sys/queue.h
Now that the handling of including sys/queue.h is better, there's no
need to remove those lines from the source. Copy the location of those
original sys/queue.h lines from upstream at the same line number, so as
to avoid any conflicts in the future.
- Commit:
1077ec6a6f30ef069f367889ba8614be168eabfd
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: look for sha1.h portably
Remove the include from lib/delta_cache.c
- Commit:
3e733fce1694de7f60abd32ceb2a82921ee21429
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
delta_cache.c needs to include <stdint.h>; unbreaks -portable build on ubuntu
- Commit:
eadd2d4623d9f234e06467faaa563e9186c8d38b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: delta_cache: remove includes
Remove those includes which are searched for portably.
- Commit:
26498a8b19806608c6307f826526faf6987b90fa
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
delta_cache.c needs to include <stdint.h>; unbreaks -portable build on ubuntu
- Commit:
7c7a66bd979832cee8429180b46a5179e2cd8b66
- From:
- Tracey Emery <tracey@traceyemery.net>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix build with -DGOT_NO_OBJ_CACHE
ok stsp
- Commit:
88b1b4908e8a15350682e086f24a4b77cdfed141
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
check the maximum cached delta size against the correct constant
- Commit:
a5061f770a80b2e450a8c950f658880b703607ba
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
convert delta cache to a hash table
This approach uses more memory but is much faster. To offset the
additional memory usage somewhat the cache now stores very small
deltas only. However, overall memory usage goes up. Hopefully we
will find a way to reduce this later.
ok op@
- Commit:
92a9e85d28a30997176ce0d3c2915e3ea70782c7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add FreeBSD support
This adds the capability to compile got-portable on FreeBSD.
- Commit:
dd038bc6ec835ad3fd3c0b5303b8af9ad506c8cc
- From:
- Thomas Adam <thomas@xteddy.org>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
portable: initial Linux compilation
This commit modifies the GoT main branch to be able to compile it under
linux.
- Commit:
5aa813935b6489921083da5ed9459a1cfb8a03e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add copyright year for files already touched in 2020
- Commit:
fa7a529ed4c1497b79f04fcd0484304e69b28873
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
disable delta cache in GOT_NO_OBJ_CACHE builds
- Commit:
c3b318d03e2208287f9ada2f6f9c759dfc0ba576
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add debug stats to delta cache
- Commit:
ab2f42e760e128287c5e880a39c591845231922b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache delta data buffers in an LRU cache