]> git.ozlabs.org Git - ccan/log
ccan
13 years agoantithread: update example Makefile and arabella example.
Rusty Russell [Sat, 25 Sep 2010 15:18:27 +0000 (00:48 +0930)]
antithread: update example Makefile and arabella example.

13 years agoalloc: fix case where poolsize is not a power of 2.
Rusty Russell [Sat, 25 Sep 2010 15:12:46 +0000 (00:42 +0930)]
alloc: fix case where poolsize is not a power of 2.

13 years agohash: fix overrun in test code.
Rusty Russell [Sat, 25 Sep 2010 14:22:35 +0000 (23:52 +0930)]
hash: fix overrun in test code.

13 years agotools/ccanlint: extract examples in separate test.
Rusty Russell [Sat, 25 Sep 2010 12:36:20 +0000 (22:06 +0930)]
tools/ccanlint: extract examples in separate test.

This is a precursor to doing something useful with them.

13 years agoalloc: fix uninitialized entry (thanks valgrind!)
Rusty Russell [Sat, 25 Sep 2010 12:34:16 +0000 (22:04 +0930)]
alloc: fix uninitialized entry (thanks valgrind!)

13 years agotdb2: tools/
Rusty Russell [Sat, 25 Sep 2010 07:55:17 +0000 (17:25 +0930)]
tdb2: tools/

As per-tdb's tools.

13 years agotdb: separate key and data size summary in tdb_summary().
Rusty Russell [Sat, 25 Sep 2010 07:54:50 +0000 (17:24 +0930)]
tdb: separate key and data size summary in tdb_summary().

13 years agotdb2: tdb_summary() implementation for tdb2.
Rusty Russell [Sat, 25 Sep 2010 07:39:44 +0000 (17:09 +0930)]
tdb2: tdb_summary() implementation for tdb2.

13 years agotdb2: Move min size constant out where summary.c can see it.
Rusty Russell [Sat, 25 Sep 2010 04:29:00 +0000 (13:59 +0930)]
tdb2: Move min size constant out where summary.c can see it.

13 years agotdb2: don't use probe arg to oob()
Rusty Russell [Sat, 25 Sep 2010 04:27:51 +0000 (13:57 +0930)]
tdb2: don't use probe arg to oob()

We want it to complain if it's wrong...

13 years agotdb: use optimal tally size for summary histograms.
Rusty Russell [Sat, 25 Sep 2010 02:24:35 +0000 (11:54 +0930)]
tdb: use optimal tally size for summary histograms.

13 years agotally: invert histograms so maximum is on top.
Rusty Russell [Sat, 25 Sep 2010 02:22:27 +0000 (11:52 +0930)]
tally: invert histograms so maximum is on top.

13 years agotally: don't add extra bucket unless buckets == 0
Rusty Russell [Sat, 25 Sep 2010 02:15:12 +0000 (11:45 +0930)]
tally: don't add extra bucket unless buckets == 0

That way we match our comment about optimal tally_new() arg matching histogram height.

13 years agotally: simplify, add Y axis to graph.
Rusty Russell [Sat, 25 Sep 2010 02:11:38 +0000 (11:41 +0930)]
tally: simplify, add Y axis to graph.

13 years agotdb: implement tdb_summary.
Rusty Russell [Fri, 24 Sep 2010 07:57:51 +0000 (17:27 +0930)]
tdb: implement tdb_summary.

Including pretty graphs!

13 years agotally: implement tally_total()
Rusty Russell [Fri, 24 Sep 2010 07:42:07 +0000 (17:12 +0930)]
tally: implement tally_total()

Not as trivial as you might think, with overflow and underflow.

13 years agotdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash.
Rusty Russell [Fri, 24 Sep 2010 05:24:46 +0000 (14:54 +0930)]
tdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash.

This flag to tdb_open/tdb_open_ex effects creation of a new database:
1) Uses the Jenkins lookup3 hash instead of the old gdbm hash if none is
   specified,
2) Places a non-zero field in header->rwlocks, so older versions of TDB will
   refuse to open it.

This means that the caller (ie Samba) can set this flag to safely
change the hash function.  Versions of TDB from this one on will either
use the correct hash or refuse to open (if a different hash is specified).
Older TDB versions will see the nonzero rwlocks field and refuse to open
it under any conditions.

13 years agotdb: automatically identify Jenkins hash tdbs
Rusty Russell [Fri, 24 Sep 2010 04:59:42 +0000 (14:29 +0930)]
tdb: automatically identify Jenkins hash tdbs

If the caller to tdb_open_ex() doesn't specify a hash, and tdb_old_hash
doesn't match, try tdb_jenkins_hash.

This makes life simpler, especially with the upcoming TDB_INCOMPATIBLE_HASH
flag.

13 years agotdb: add Bob Jenkins lookup3 hash as helper hash.
Rusty Russell [Fri, 24 Sep 2010 04:07:04 +0000 (13:37 +0930)]
tdb: add Bob Jenkins lookup3 hash as helper hash.

This is a better hash than the default: shipping it with tdb makes it easy
for callers to use it as the hash by passing it to tdb_open_ex().

13 years agotdb: add mktdb tool.
Rusty Russell [Thu, 23 Sep 2010 07:20:30 +0000 (16:50 +0930)]
tdb: add mktdb tool.

13 years agotally: new module for tallying numbers.
Rusty Russell [Thu, 23 Sep 2010 05:43:03 +0000 (15:13 +0930)]
tally: new module for tallying numbers.

13 years agotools: restore -Wmissing-prototypes -Wmissing-declarations
Rusty Russell [Tue, 14 Sep 2010 11:06:48 +0000 (20:36 +0930)]
tools: restore -Wmissing-prototypes -Wmissing-declarations

13 years agotdb: fix test helper to include own header, fix function definition.
Rusty Russell [Tue, 14 Sep 2010 11:06:12 +0000 (20:36 +0930)]
tdb: fix test helper to include own header, fix function definition.

13 years agotdb2: add missing prototype, move tdb_firstkey/tdb_nextkey to traverse.c
Rusty Russell [Tue, 14 Sep 2010 11:05:34 +0000 (20:35 +0930)]
tdb2: add missing prototype, move tdb_firstkey/tdb_nextkey to traverse.c

13 years agotdb2: implement tdb_firstkey/tdb_nextkey.
Rusty Russell [Tue, 14 Sep 2010 10:36:17 +0000 (20:06 +0930)]
tdb2: implement tdb_firstkey/tdb_nextkey.

13 years agotdb2: add tdb_errorstr(), clean up error codes.
Rusty Russell [Tue, 14 Sep 2010 01:08:30 +0000 (10:38 +0930)]
tdb2: add tdb_errorstr(), clean up error codes.

Also remove TDB_DISALLOW_NESTING flag, since that's the default now.

13 years agotdb2: update design doc.
Rusty Russell [Tue, 14 Sep 2010 00:36:04 +0000 (10:06 +0930)]
tdb2: update design doc.

13 years agotdb: put example hashes into header, so we notice incorrect hash_fn.
Rusty Russell [Mon, 13 Sep 2010 10:12:34 +0000 (19:42 +0930)]
tdb: put example hashes into header, so we notice incorrect hash_fn.

This is Stefan Metzmacher <metze@samba.org>'s patch with minor
changes:
1) Use the TDB_MAGIC constant so both hashes aren't of strings.
2) Check the hash in tdb_check (paranoia, really).
3) Additional check in the (unlikely!) case where both examples hash to 0.
4) Cosmetic changes to var names and complaint message.

13 years agotdb: fix tdb_check() on other-endian tdbs.
Rusty Russell [Mon, 13 Sep 2010 09:17:14 +0000 (18:47 +0930)]
tdb: fix tdb_check() on other-endian tdbs.

We must not endian-convert the magic string, just the rest.

13 years agotdb: fix tdb_check() on read-only TDBs to actually work.
Rusty Russell [Mon, 13 Sep 2010 09:08:20 +0000 (18:38 +0930)]
tdb: fix tdb_check() on read-only TDBs to actually work.

But make sure we can still do tdb_check() inside a transaction (weird,
but we previously allowed it).

13 years agotdb: support tdb_check() on r/o databases.
Rusty Russell [Mon, 13 Sep 2010 07:53:29 +0000 (17:23 +0930)]
tdb: support tdb_check() on r/o databases.

(Imported from SAMBA commit bc1c82ea137e1bf6cb55139a666c56ebb2226b23)

Author: Jeremy Allison <jra@samba.org>
Date:   Wed Jul 28 05:15:40 2010 -0700

Fix tdb_check() to work with read-only tdb databases. The function tdb_lockall() uses F_WRLCK internally, which doesn't work on a fd opened with O_RDONLY. Use tdb_lockall_read() instead.

Jeremy.

13 years agoalloc: No need for tiny.c to be executable.
Rusty Russell [Mon, 13 Sep 2010 07:32:47 +0000 (17:02 +0930)]
alloc: No need for tiny.c to be executable.

13 years agoccanlint: append NULL terminator to generated dependencies.
Rusty Russell [Mon, 13 Sep 2010 06:31:32 +0000 (16:01 +0930)]
ccanlint: append NULL terminator to generated dependencies.

Interestingly, valgrind didn't even notice.  But it crashed on (some) PowerPC.

13 years agotdb2: fix remapping inside tdb_traverse_read
Rusty Russell [Mon, 13 Sep 2010 04:29:15 +0000 (13:59 +0930)]
tdb2: fix remapping inside tdb_traverse_read

Because we (temporarily!) marked the tdb read_only=true, any remap would
mmap PROT_READ, and the next store would SEGV.

Pulled in more test infrastructure from tdb.

13 years agotdb: missing files from checkin.
Rusty Russell [Sun, 12 Sep 2010 11:51:25 +0000 (21:21 +0930)]
tdb: missing files from checkin.

13 years agotdb: unify logging code in test dir.
Rusty Russell [Sat, 11 Sep 2010 02:43:14 +0000 (12:13 +0930)]
tdb: unify logging code in test dir.

13 years agotdb: make check more robust against recovery failures.
Rusty Russell [Sat, 11 Sep 2010 02:23:42 +0000 (11:53 +0930)]
tdb: make check more robust against recovery failures.

We can end up with dead areas when we die during transaction commit;
tdb_check() fails on such a (valid) database.

This is particularly noticable now we no longer truncate on recovery;
if the recovery area was at the end of the file we used to remove it
that way.

13 years agotdb: rewrite external agent for testing.
Rusty Russell [Sat, 11 Sep 2010 02:17:37 +0000 (11:47 +0930)]
tdb: rewrite external agent for testing.

For locking and transaction tests, we need an external process to probe the
tdb.  This code was a mess, and unreliable (occasional failures).  Rewrite
it so that instead of blocking and using SIGALRM, we mug fcntl and force
non-blocking locks.  We use a special return to day "I couldn't because
the lock wasn't available".

I also made the operations clearer and more orthogonal rather than "what
we needed for each test" which was really hard to understand.

It turns out those occasional failures weren't spurious.  Next patch!

13 years agotdb: enforce hashing, via example hash in old rwlocks entry in header.
Rusty Russell [Fri, 10 Sep 2010 03:59:54 +0000 (13:29 +0930)]
tdb: enforce hashing, via example hash in old rwlocks entry in header.

This means that older code will not be able to open new TDBs with
a non-default hash, *even* if they are using the correct hash.
Non-default hashes were unusual, but now SAMBA is considering using
a non-default hash, and avoiding corruption seems more important
than backwards compatibility for an obscure case.

13 years agotdb: test that new-style TDBs with non-default hashes can't be opened.
Rusty Russell [Fri, 10 Sep 2010 03:20:16 +0000 (12:50 +0930)]
tdb: test that new-style TDBs with non-default hashes can't be opened.

We currently allow opening of a TDB without any idea if we're using the
right hash function.  Since most people use the default, this hasn't been
a big issue.

The next change will put an example hash value in the rwlocks field in
the header: current TDB already refuses to open a TDB with this field
non-zero.  This commit simply adds tests that that occurs.

13 years agoccanlint: use familiar names for temporary files, show them with -vv.
Rusty Russell [Fri, 10 Sep 2010 03:06:26 +0000 (12:36 +0930)]
ccanlint: use familiar names for temporary files, show them with -vv.

13 years agoccanlint: don't run valgrind tests in test dir.
Rusty Russell [Fri, 10 Sep 2010 03:05:37 +0000 (12:35 +0930)]
ccanlint: don't run valgrind tests in test dir.

We changed other tests to run in our tmpdir, missed this one.

13 years agoccanlint: print out compile targets for -vv.
Rusty Russell [Thu, 9 Sep 2010 14:08:36 +0000 (23:38 +0930)]
ccanlint: print out compile targets for -vv.

13 years agoccanlint: allow _info file to specify tests not to bother with.
Rusty Russell [Thu, 9 Sep 2010 11:08:52 +0000 (20:38 +0930)]
ccanlint: allow _info file to specify tests not to bother with.

I also changed -x to be specified multiple times rather than using , separators.

13 years agotdb: new command openjh for tdbtool (to use Jenkins hash)
Rusty Russell [Thu, 9 Sep 2010 11:08:13 +0000 (20:38 +0930)]
tdb: new command openjh for tdbtool (to use Jenkins hash)

13 years agotdb2: don't hold access to tdb mmap during traverse.
Rusty Russell [Thu, 9 Sep 2010 10:40:39 +0000 (20:10 +0930)]
tdb2: don't hold access to tdb mmap during traverse.

13 years agotdb2: change to using a hash tree.
Rusty Russell [Thu, 9 Sep 2010 09:29:18 +0000 (18:59 +0930)]
tdb2: change to using a hash tree.

As the locking issues with enlarging a hash were so nasty, we switch to a
tree structure for the entries.  It's a hash which expands to point to
sub-hashes when it fills.

This means we no longer have a 'volatile' header: the top hash cannot move.
In fact, we no longer store a copy of the header in the tdb_context; we only
need hash_seed.

New helper functions for accessing writable areas and committing the results
(if they had to be copied).  New debug test to make sure we don't hold access
while we're doing something which could cause us to unmap/remap.

Find becomes more complicated: we need to track where we found (or didn't
find) an entry so we can easily add/delete it.

Traverse becomes more complicated: we need to track where we were in the
hash tree.

13 years agotdb2: update documentation.
Rusty Russell [Thu, 9 Sep 2010 07:25:43 +0000 (16:55 +0930)]
tdb2: update documentation.

13 years agoMakefile: separate out junkpages target.
Rusty Russell [Fri, 3 Sep 2010 13:03:40 +0000 (22:33 +0930)]
Makefile: separate out junkpages target.

13 years agotdb2: make valgrind happier.
Rusty Russell [Fri, 3 Sep 2010 12:58:43 +0000 (22:28 +0930)]
tdb2: make valgrind happier.

13 years agotdb2: expand lock now nests inside other locks.
Rusty Russell [Fri, 3 Sep 2010 12:52:08 +0000 (22:22 +0930)]
tdb2: expand lock now nests inside other locks.

This eliminates all the "drop lock and retry" logic: we expand inside alloc().

13 years agotdb2: use immobile free buckets, rename tests to show some ordering.
Rusty Russell [Fri, 3 Sep 2010 12:39:40 +0000 (22:09 +0930)]
tdb2: use immobile free buckets, rename tests to show some ordering.

We put the free lists at the beginning of a zone; this means no record
can be larger than a zone, but means they cannot move.  Once we change
hashes to be expanding, they won't move either and the result should be
simpler.

13 years agotdb2: document problems with moving or enlarging hash table.
Rusty Russell [Fri, 3 Sep 2010 12:39:14 +0000 (22:09 +0930)]
tdb2: document problems with moving or enlarging hash table.

13 years agotdb2: traversal test.
Rusty Russell [Fri, 3 Sep 2010 12:37:40 +0000 (22:07 +0930)]
tdb2: traversal test.

13 years agojunkcode: new addition.
Rusty Russell [Thu, 2 Sep 2010 10:11:40 +0000 (19:41 +0930)]
junkcode: new addition.

13 years agotdb2: fix valgrind warnings.
Rusty Russell [Mon, 30 Aug 2010 13:14:54 +0000 (22:44 +0930)]
tdb2: fix valgrind warnings.

The unreserved headers were a real bug; the others could cause a false error too.

13 years agoccanlint: fix valgrind test.
Rusty Russell [Mon, 30 Aug 2010 13:10:04 +0000 (22:40 +0930)]
ccanlint: fix valgrind test.

We were not actually recording valgrind failures in ccanlint!

13 years agoccanlint: fix compiler warning about return value of symlink.
Rusty Russell [Mon, 30 Aug 2010 13:09:51 +0000 (22:39 +0930)]
ccanlint: fix compiler warning about return value of symlink.

13 years agotools: only print out creating directory the first time.
Rusty Russell [Mon, 30 Aug 2010 13:09:04 +0000 (22:39 +0930)]
tools: only print out creating directory the first time.

13 years agotdb2: traverse and chainlock support.
Rusty Russell [Mon, 30 Aug 2010 12:55:15 +0000 (22:25 +0930)]
tdb2: traverse and chainlock support.

These tests revealed more bugs with delete (rewritten) and hash enlargement.

13 years agotdb2: tdb_append implemented, beef up tests.
Rusty Russell [Mon, 30 Aug 2010 09:39:06 +0000 (19:09 +0930)]
tdb2: tdb_append implemented, beef up tests.

13 years agotdb2: more common code
Rusty Russell [Mon, 30 Aug 2010 06:54:48 +0000 (16:24 +0930)]
tdb2: more common code
Use hash_add() when resizing hash, too.

13 years agotdb2: fix argument order for tdb_gradual_lock.
Rusty Russell [Mon, 30 Aug 2010 06:51:23 +0000 (16:21 +0930)]
tdb2: fix argument order for tdb_gradual_lock.
This explains why most of tdb_gradual_lock was not tested: thanks gcov!

13 years agotdb2: extract common hashing code.
Rusty Russell [Mon, 30 Aug 2010 06:33:52 +0000 (16:03 +0930)]
tdb2: extract common hashing code.

13 years agotdb2: fixes and test for hash enlargement.
Rusty Russell [Mon, 30 Aug 2010 05:29:34 +0000 (14:59 +0930)]
tdb2: fixes and test for hash enlargement.

13 years agotdb2: more tests, hash collision fixes, attribute support.
Rusty Russell [Mon, 30 Aug 2010 04:59:08 +0000 (14:29 +0930)]
tdb2: more tests, hash collision fixes, attribute support.

13 years agoccanlint: fix abort on "-d ..".
Rusty Russell [Mon, 30 Aug 2010 03:14:15 +0000 (12:44 +0930)]
ccanlint: fix abort on "-d ..".

13 years agotests: now we run in tmp dir, always create temporary files in this dir.
Rusty Russell [Mon, 30 Aug 2010 03:06:23 +0000 (12:36 +0930)]
tests: now we run in tmp dir, always create temporary files in this dir.

13 years agoccanlint: use up to three -v to mean more verbosity.
Rusty Russell [Mon, 30 Aug 2010 01:21:48 +0000 (10:51 +0930)]
ccanlint: use up to three -v to mean more verbosity.
eg. -v dumps percentage of coverage, -vv dumps per-line data, -vvv dumps every command executed.

13 years agotools: add build_verbose to show every command executed.
Rusty Russell [Mon, 30 Aug 2010 01:21:33 +0000 (10:51 +0930)]
tools: add build_verbose to show every command executed.

13 years agotdb: fix lock-tracking test code after gradual lock changes.
Rusty Russell [Mon, 30 Aug 2010 01:11:57 +0000 (10:41 +0930)]
tdb: fix lock-tracking test code after gradual lock changes.

13 years agotdb2: new tests, and new fixes.
Rusty Russell [Sat, 28 Aug 2010 11:06:22 +0000 (20:36 +0930)]
tdb2: new tests, and new fixes.

13 years agotdb2: check that records are of sufficient length in tdb_check.
Rusty Russell [Sat, 28 Aug 2010 11:05:39 +0000 (20:35 +0930)]
tdb2: check that records are of sufficient length in tdb_check.

13 years agotdb2: split expand into functions and test separately.
Rusty Russell [Fri, 27 Aug 2010 05:33:41 +0000 (15:03 +0930)]
tdb2: split expand into functions and test separately.

13 years agoUpdate main page.
Rusty Russell [Fri, 27 Aug 2010 05:01:11 +0000 (14:31 +0930)]
Update main page.

13 years agoccanlint: chdir to temporary dir so gcov files land there.
Rusty Russell [Fri, 27 Aug 2010 04:27:23 +0000 (13:57 +0930)]
ccanlint: chdir to temporary dir so gcov files land there.

This means parallel "make check" works again.

13 years agoccanlint: use gcov to rate test coverage (score out of 5)
Rusty Russell [Fri, 27 Aug 2010 04:15:16 +0000 (13:45 +0930)]
ccanlint: use gcov to rate test coverage (score out of 5)

13 years agoccanlint: clean up code which outputs results, handle partial failure.
Rusty Russell [Fri, 27 Aug 2010 04:14:49 +0000 (13:44 +0930)]
ccanlint: clean up code which outputs results, handle partial failure.

13 years agotap: don't _exit on success
Rusty Russell [Fri, 27 Aug 2010 04:08:58 +0000 (13:38 +0930)]
tap: don't _exit on success

This prevents us from writing out gcov files.

13 years agotdb2: more fixes and tests for enlarging hash.
Rusty Russell [Thu, 26 Aug 2010 14:38:34 +0000 (00:08 +0930)]
tdb2: more fixes and tests for enlarging hash.
- Neaten I/O function
- Don't use fill in zero_out: it's only for low-level ops.
- Don't mangle arg in tdb_write_convert: it broke write_header.
- More use of tdb_access_read, make it optionally converting.
- Rename unlock_range to unlock_lists.
- Lots of fixes to enlarge_hash now it's being tested.
- More expansion cases tested.

13 years agotdb2: delete and fetch now work.
Rusty Russell [Thu, 26 Aug 2010 12:27:32 +0000 (21:57 +0930)]
tdb2: delete and fetch now work.

13 years agotdb2: clean up locking a little bit, fix hash wrap problem.
Rusty Russell [Thu, 26 Aug 2010 12:18:28 +0000 (21:48 +0930)]
tdb2: clean up locking a little bit, fix hash wrap problem.

13 years agotdb2: now we can store a key!
Rusty Russell [Thu, 26 Aug 2010 10:27:56 +0000 (19:57 +0930)]
tdb2: now we can store a key!

13 years agotdb2: tdb_expand on empty database now tested.
Rusty Russell [Thu, 26 Aug 2010 07:36:47 +0000 (17:06 +0930)]
tdb2: tdb_expand on empty database now tested.

13 years agotdb2: now checking a new empty database works.
Rusty Russell [Thu, 26 Aug 2010 05:07:18 +0000 (14:37 +0930)]
tdb2: now checking a new empty database works.

13 years agohash: 64-bit hash functions should take 64-bit base.
Rusty Russell [Thu, 26 Aug 2010 04:29:20 +0000 (13:59 +0930)]
hash: 64-bit hash functions should take 64-bit base.

13 years agotdb2: update config.h with more defines.
Rusty Russell [Thu, 26 Aug 2010 03:23:55 +0000 (12:53 +0930)]
tdb2: update config.h with more defines.

13 years agotdb2: initial commit (doesn't work, still writing tests)
Rusty Russell [Thu, 26 Aug 2010 03:22:59 +0000 (12:52 +0930)]
tdb2: initial commit (doesn't work, still writing tests)

13 years agoMakefile: don't hide what we're doing, user can use -s.
Rusty Russell [Mon, 16 Aug 2010 06:19:09 +0000 (15:49 +0930)]
Makefile: don't hide what we're doing, user can use -s.

13 years agohash: 64 bit variants.
Rusty Russell [Mon, 16 Aug 2010 06:07:19 +0000 (15:37 +0930)]
hash: 64 bit variants.

13 years agotdb: use tdb_lockall_gradual by default.
Rusty Russell [Fri, 13 Aug 2010 05:37:16 +0000 (15:07 +0930)]
tdb: use tdb_lockall_gradual by default.

This has the advantage the transactions will also use it, preventing them
from blocking.

13 years agotdb: test and resolultion for tdb_lockall starvation.
Rusty Russell [Fri, 13 Aug 2010 05:19:59 +0000 (14:49 +0930)]
tdb: test and resolultion for tdb_lockall starvation.

13 years agoweb: handle symlinks in bzrbrowse.cgi, fix images.
Rusty Russell [Sat, 7 Aug 2010 03:11:24 +0000 (12:41 +0930)]
web: handle symlinks in bzrbrowse.cgi, fix images.

13 years agoweb: make sure to include symlinks in tarballs
Rusty Russell [Fri, 6 Aug 2010 13:34:27 +0000 (23:04 +0930)]
web: make sure to include symlinks in tarballs

13 years agoAdd author and maintainer fields.
Rusty Russell [Fri, 6 Aug 2010 13:08:02 +0000 (22:38 +0930)]
Add author and maintainer fields.

13 years agoAdd licences/ dir and symlinks for a bit more clarity.
Rusty Russell [Fri, 6 Aug 2010 13:01:23 +0000 (22:31 +0930)]
Add licences/ dir and symlinks for a bit more clarity.

13 years agoalloc: speed up tiny allocator
Rusty Russell [Thu, 29 Jul 2010 00:49:01 +0000 (10:19 +0930)]
alloc: speed up tiny allocator

13 years agoalloc: remove unused debugging function.
Rusty Russell [Wed, 28 Jul 2010 13:44:28 +0000 (23:14 +0930)]
alloc: remove unused debugging function.

13 years agoalloc: reduce number of large pages to 256.
Rusty Russell [Wed, 28 Jul 2010 13:40:58 +0000 (23:10 +0930)]
alloc: reduce number of large pages to 256.

This reduces the number of huge allocs, which drops test time from 6 minutes to 57 seconds.

13 years agoalloc: implement huge allocations
Rusty Russell [Wed, 28 Jul 2010 13:05:08 +0000 (22:35 +0930)]
alloc: implement huge allocations

Inefficient scheme for allocations > 1/8192 of the pool size.