| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rename tor-memtrack to tor-memquota | Ian Jackson | 2024-04-29 | 1 | -206/+0 |
| | | |||||
| * | tor_memtrack: Soup up DropBomb and make into its own module | Ian Jackson | 2024-04-24 | 1 | -0/+2 |
| | | | | | | | | | And make it testable. In addition to the in-module tests, I have done an ad-hoc test, removing the .promise call from deferred_drop, and it does panic in the test cawe as desired. | ||||
| * | tor-memtrack: Clarify behavioural comment | Ian Jackson | 2024-04-23 | 1 | -1/+1 |
| | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021436 | ||||
| * | tor-memtrack: Fix doc comment (and change capitalisation) | gabi-250 | 2024-04-23 | 1 | -1/+1 |
| | | |||||
| * | tor-memtrack: Fix doc comment grammar | gabi-250 | 2024-04-23 | 1 | -1/+1 |
| | | |||||
| * | tor-memtrack: Clarify a doc comment | gabi-250 | 2024-04-23 | 1 | -2/+2 |
| | | |||||
| * | tor-memtrack: Provide an error for callers to use | Ian Jackson | 2024-04-23 | 1 | -1/+1 |
| | | |||||
| * | tor-memtrack: Comment out some false docs, with some TODOs | Ian Jackson | 2024-04-23 | 1 | -6/+8 |
| | | |||||
| * | tor-memtrack: Remove dead code allows | Ian Jackson | 2024-04-23 | 1 | -2/+0 |
| | | |||||
| * | tor-memtrack: implement MemoryQuotaTracker | Ian Jackson | 2024-04-23 | 1 | -0/+1 |
| | | | | | | | Includes the principal data structures and their impls. Reclamation will come in a moment. | ||||
| * | tor-memtrack: Provide helper drop_reentrancy module | Ian Jackson | 2024-04-23 | 1 | -0/+1 |
| | | |||||
| * | tor-memtrack: Provide helper refcounting module | Ian Jackson | 2024-04-23 | 1 | -0/+1 |
| | | |||||
| * | tor-memtrack: Provide Error types for use by our impls | Ian Jackson | 2024-04-23 | 1 | -0/+6 |
| | | |||||
| * | tor-memtrack: Introduce configuration | Ian Jackson | 2024-04-23 | 1 | -0/+8 |
| | | | | | Nothing uses this yet. | ||||
| * | tor-memtrack: Provide a couple of utilities | Ian Jackson | 2024-04-23 | 1 | -0/+1 |
| | | | | | | We'll use Qty for printing amounts of memory, and .take() for convenience in a lot of places. | ||||
| * | tor-memtrack: Add dependencies and imports we're going to use | Ian Jackson | 2024-04-23 | 1 | -0/+3 |
| | | | | | Establish the principal in-crate namespace. | ||||
| * | memtrack docs: Minor clarifications, and IsParticipant | Ian Jackson | 2024-04-23 | 1 | -9/+9 |
| | | | | | | | While writing the actual code, the distinction between Participation and `dyn Participant` and Participant (the abstract concept) was a bit confusing. Rename the trait, and clarify things a little. | ||||
| * | memtrack docs: Wrap (whitespace changes, manual) | Ian Jackson | 2024-04-23 | 1 | -28/+74 |
| | | | | | | | Use semantic newlines, not hugely long one-line paragraphs. (I think this file must originally have been a pad or a gitlab comment.) | ||||
| * | memtrack docs: Move overview to lib.rs | Ian Jackson | 2024-04-23 | 1 | -0/+92 |
| | | |||||
| * | tor-memtrack: Introduce new crate (empty) | Ian Jackson | 2024-04-23 | 1 | -0/+45 |
| Put it just above tor-rpcbase, which maybe it would want to use for metrics export via RPC? For now we have some dead code `#[allow]`s. | |||||
