summaryrefslogtreecommitdiff
path: root/doc/dev/notes/memory-limit.md
Commit message (Collapse)AuthorAgeFilesLines
* fix: fix typosDimitris Apostolou2024-03-091-11/+11
|
* doc/dev/notes: memory limit: Rename register_participant from new_...Ian Jackson2024-03-071-2/+2
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3003539
* doc/dev/notes: memory limit: Fix a CloneIan Jackson2024-03-071-1/+1
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3003538
* doc/dev/notes: memory limit: Do collapse notifications with lock releasedIan Jackson2024-03-071-2/+3
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001743
* doc/dev/notes: memory limit: Add a note about possible lintsIan Jackson2024-03-071-0/+6
| | | | Suggested-by: trinity-1686a
* doc/dev/notes: memory limit: Add a note about missing considerationsIan Jackson2024-03-071-0/+9
| | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001998
* doc/dev/notes: memory limit: Document accounting invariantsIan Jackson2024-03-071-2/+10
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001995
* doc/dev/notes: memory limit: Make local_quota a usizeIan Jackson2024-03-071-1/+3
| | | | | | | Write a comment about the bound. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001992
* doc/dev/notes: memory limit: Say to roll our own PeekableIan Jackson2024-03-071-0/+1
| | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001990
* doc/dev/notes: memory limit: Fix repeated typoIan Jackson2024-03-071-3/+3
| | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001990
* doc/dev/notes: memory limit: Add not about circular account parentshipIan Jackson2024-03-071-0/+6
| | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997/diffs#3206bf44a587a8b987ce56d7e15a1c076cf3d27c_0_263
* doc/dev/notes: memory limit: Notes re partial collapsingIan Jackson2024-03-071-3/+9
| | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001745
* doc/dev/notes: memory limit: Sort out ownershipIan Jackson2024-03-071-1/+62
|
* doc/dev/notes: memory limit: Reintroduce ParticipationIan Jackson2024-03-071-32/+37
| | | | And make ParticipantId private.
* doc/dev/notes: memory limit: Minor whitespace fixesIan Jackson2024-03-071-3/+3
|
* doc/dev/notes: memory limit: Fix Account/Participant xrefIan Jackson2024-03-071-1/+1
|
* doc/dev/notes: memory limit: Reclaim can be async nowIan Jackson2024-03-071-24/+22
|
* doc/dev/notes: memory limit: Release tracker lock while reclaimingIan Jackson2024-03-071-12/+14
| | | | Otherwise we could deadlock on the tracker lock.
* doc/dev/notes: memory limit: Uee Arc<dyn Participant>Ian Jackson2024-03-071-5/+6
| | | | | Prompted by need to avoid deadlock hazard by releasing the tracker lock while callimg reclaim.
* doc/dev/notes: memory limit: Document what RoughTime means hereIan Jackson2024-03-071-0/+3
|
* doc/dev/notes: memory limit: bounded and UndboundedIan Jackson2024-03-071-1/+6
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001737
* doc/dev/notes: memory limit: Add a note about reclamation strategyIan Jackson2024-03-071-0/+2
| | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001736
* doc/dev/notes: memory limit: Rename ARecord fro m PRecordIan Jackson2024-03-071-5/+5
|
* doc/dev/notes: memory limit: Fix participant lifecycle (etc.)Ian Jackson2024-03-071-6/+23
|
* doc/dev/notes: memory limit: Use Account in queue APIIan Jackson2024-03-071-3/+2
|
* doc/dev/notes: memory limit: Use Account in queue APIIan Jackson2024-03-071-10/+8
|
* doc/dev/notes: memory limit: Multiple participantsIan Jackson2024-03-071-3/+10
| | | | Changed the data structure sketch and API only, so far.
* doc/dev/notes: memory limit: Add doc for conceptsIan Jackson2024-03-071-0/+18
|
* doc/dev/notes: memory limit: Descripe Account's CloneIan Jackson2024-03-071-0/+3
|
* doc/dev/notes: memory limit: Rename Partipation to AccountIan Jackson2024-03-071-30/+30
| | | | | This will allow us to have multiple Participants per (conceptual) Account.
* doc/dev/notes: memory limit: Change to memory_cost() nameIan Jackson2024-03-071-2/+2
| | | | | Suggested here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_2998975
* doc/dev/notes: memory limit: Discusss cachesIan Jackson2024-03-071-2/+31
|
* doc/dev/notes: memory limit: Misc fixesIan Jackson2024-03-071-4/+6
|
* doc/dev/notes: memory limit: UntabifyIan Jackson2024-03-071-73/+73
|
* doc/dev/notes: memory limit: ParentsIan Jackson2024-03-071-2/+14
|
* doc/dev/notes: memory limit: Rework queue completelyIan Jackson2024-03-071-44/+56
| | | | This was all quite impossible.
* doc/dev/notes: memory limit: Make MemoryQuotaTracker Arc visibleIan Jackson2024-03-071-2/+2
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_2998976
* doc/dev/notes: memory limit: Maybe we don't use this for cachesIan Jackson2024-03-071-0/+4
|
* doc/dev/notes: memory limit: Don't use derefIan Jackson2024-03-071-1/+1
|
* doc/dev/notes: memory limit: Pass desired reclaim amount for benefit of cachesIan Jackson2024-03-071-4/+7
|
* doc/dev/notes: memory limit: Fix title botchIan Jackson2024-03-071-1/+1
|
* doc/dev/notes: memory limit: Fix some namesIan Jackson2024-03-071-3/+3
| | | | I renamed some things earlier and missed these.
* doc/dev/notes: memory limit: Fix reclaim declIan Jackson2024-03-071-1/+1
|
* doc/dev/notes: memory limit: Fix oldest to be oldest not newestIan Jackson2024-03-071-26/+25
|
* doc/dev/notes: memory limit: Add more explanationsIan Jackson2024-03-071-2/+50
|
* doc/dev/notes: First cut at memory limit design sketchIan Jackson2024-03-071-0/+211