Commit Graph

1188 Commits

Author SHA1 Message Date
Edward Amsden
7954758e43
Merge pull request #192 from urbit/eamsden/no-memory-checks-in-ci
ci: don't enable check_all feature for ares crate
2023-12-18 19:09:06 -06:00
Edward Amsden
d7a42cdf92 ci: don't enable check_all feature for ares crate 2023-12-18 17:46:29 -06:00
Edward Amsden
8c92c68c5f
Merge pull request #191 from urbit/pq/add-warning-for-check-all
add a warning to discourage use of check_all feature flag
2023-12-18 17:43:56 -06:00
Matthew LeVan
f8c5620752 ed: add comments 2023-12-18 16:14:29 -05:00
Matthew LeVan
3767f89272 wip: all but shar work for ed 2023-12-18 16:08:22 -05:00
Matthew LeVan
7878b775ab ed: veri 2023-12-18 15:03:44 -05:00
Philip Quirk
760b317a3e add a warning to discourage use of check_all feature flag 2023-12-18 13:48:20 -06:00
Matthew LeVan
228ab7f5b7 ed: sign 2023-12-18 14:08:59 -05:00
Matthew LeVan
561701aaf1 wip: shar 2023-12-18 12:55:13 -05:00
Edward Amsden
7b2684aa26 jets: jet +turn 2023-12-18 10:46:34 -06:00
Matthew LeVan
eb77dad57f ed: puck 2023-12-18 11:39:09 -05:00
Edward Amsden
64367a9037 ares_crypto: cargo lock 2023-12-17 21:46:26 -06:00
Edward Amsden
087b90db90 ares_crypto: add scaffolding for tests vs urcrypt 2023-12-17 21:46:04 -06:00
barter-simsum
c0e68a27f6 pma: btest ephemeral structure equality tests 2023-12-17 20:05:03 -05:00
Matthew LeVan
bdaeed22c4 wip: ares_crypto initial commit 2023-12-17 18:57:51 -05:00
Edward Amsden
e39e1b7523
Merge pull request #188 from urbit/as/exit
serf: implement %live %exit
2023-12-17 15:24:11 -06:00
Alex Shelkovnykov
be96c495a8 serf: implement %live %exit 2023-12-17 14:00:19 -03:00
barter-simsum
3a6ed42054 pma: depth passed to _flist_read2 should be 1 not 0 2023-12-15 19:49:35 -05:00
barter-simsum
2c016500ac pma: restore mmaps before regenerating ephemeral state 2023-12-15 19:24:37 -05:00
barter-simsum
9a8229837d pma: initialize state->which to 0 in bt_state_open 2023-12-15 18:41:50 -05:00
barter-simsum
0ec984663c pma: revisions to codepath handling opening of existing pma 2023-12-15 18:38:52 -05:00
barter-simsum
0496de5f4c pma: testing out a mmap call /before/ reading header 2023-12-15 16:01:34 -05:00
Edward Amsden
012a7bac22
Merge pull request #180 from urbit/sigilante/remove-doublejam
serf:  removal of snapshotting
2023-12-15 13:41:18 -06:00
Edward Amsden
5a72c6a932
Merge pull request #183 from urbit/eamsden/stop-for-debug-crate-feature
main: add stop_for_debug feature to stop Ares when it starts for a debugger to attach
2023-12-15 13:39:22 -06:00
Edward Amsden
011d452156 main: add stop_for_debug feature to stop Ares when it starts for a debugger to attach 2023-12-15 13:12:05 -06:00
Edward Amsden
820b1ac57a main: add stop_for_debug feature to stop Ares when it starts for a debugger to attach 2023-12-15 12:27:17 -06:00
Edward Amsden
f092c482ee pma: format 2023-12-15 11:17:08 -06:00
Edward Amsden
dd814b3e1f pma: add crate feature to control debugging printfs 2023-12-15 11:16:38 -06:00
Sigilante
a4d67e01fd serf: placate linter 2023-12-15 10:39:02 -06:00
Edward Amsden
3acf8e74c1 serf: ensure locals are preserved and top frame flipped after PMA save 2023-12-15 10:00:38 -06:00
barter-simsum
02b1ae3dd2 pma: btest.c changes 2023-12-15 06:36:53 -05:00
barter-simsum
66aaa255f7 pma: fix freelist node size calculation in _mlist_insert 2023-12-15 06:36:30 -05:00
barter-simsum
031e583c3c pma: fix DPRINTF in bt_malloc 2023-12-15 05:38:35 -05:00
barter-simsum
965865da13 pma: mmap freespace ahead of first node partition 2023-12-15 03:24:42 -05:00
barter-simsum
40a04ec8ab pma: _bt_printnode print to stderr 2023-12-15 01:19:28 -05:00
Edward Amsden
a37cf3e779 pma: when persisting hamt check if buffer already in PMA 2023-12-15 00:15:40 -06:00
barter-simsum
ff204263ff pma: misc fixes
- primarily fixes a bug in _mlist_insert and _pending_flist_insert
- also updates some tests
- disables node data printing on _bt_insertdat with DEBUG_PRINTNODE macro
2023-12-15 00:50:26 -05:00
Edward Amsden
bdccac7ff2 pma: fixup of global static PMA 2023-12-14 22:17:25 -06:00
Edward Amsden
8fb0953247 pma: dirty in unifying equality
This changes the PMA to be a static global instead of a threaded-through handle.
We use a OnceLock to enforce one-time-only opening of the PMA. There is
no public PMA type any more, just a collection of module-level methods
which act through the global reference.

This is consistent with the assumptions of the underlying C code, that
there will be only one PMA open in a process, and avoids the need to
thread the PMA to unifying equality calls.
2023-12-14 21:42:31 -06:00
Edward Amsden
caeea6ec2d unifying equality: move to own module 2023-12-14 18:08:55 -06:00
barter-simsum
a509c2fabe pma: even more msync/mprotect changes 2023-12-14 16:40:42 -05:00
barter-simsum
a8b3619e9f pma: more msync/mprotect abort 2023-12-14 16:35:33 -05:00
Edward Amsden
fa30180b68 pma: noun and hamt persist fixes 2023-12-14 15:31:06 -06:00
barter-simsum
92c1a23b7d pma: abort on failed msync/mprotect 2023-12-14 16:30:29 -05:00
Edward Amsden
adfc9ddb10 pma: fix assert in save_to_pma 2023-12-14 14:28:27 -06:00
Sigilante
854e4bd544
Recomment debugging printfs 2023-12-14 09:39:49 -06:00
Edward Amsden
bfdb1b9eb7 pma: fix and simplify copy_to_buffer for Noun 2023-12-14 00:56:39 -06:00
Edward Amsden
5598442304 pma: fix save_to_pma buffer size assertions 2023-12-14 00:45:09 -06:00
Edward Amsden
4ff2f1e161
Merge pull request #178 from urbit/revert-177-revert-175-eamsden/gc-top-frame
2stackz: gc top frame by flipping polarity (take 2)
2023-12-13 22:42:14 -06:00
Edward Amsden
59180a704b Merge branch 'revert-177-revert-175-eamsden/gc-top-frame' into eamsden/integrate-pma-tmp-fix-gc 2023-12-13 22:39:11 -06:00