Commit Graph

547 Commits

Author SHA1 Message Date
Philipp Oppermann
c9ceb8731c Minor improvements 2023-09-14 19:17:56 +02:00
Philipp Oppermann
a02b4d7284 Start section on thread switching 2020-02-11 10:32:02 +01:00
Philipp Oppermann
d3f19e1e92 Start implementation section with Thread definition and alloc_stack function 2020-02-11 10:32:02 +01:00
Philipp Oppermann
4d21a7fc33 Restructure headings 2020-02-11 10:32:02 +01:00
Philipp Oppermann
a90e673e87 Write introduction about threads 2020-02-11 10:32:02 +01:00
Philipp Oppermann
c4816f0256 Write introduction about multitasking 2020-02-11 10:32:02 +01:00
Philipp Oppermann
16356ca821 Create skeleton for new post about threads 2020-02-11 10:32:02 +01:00
Philipp Oppermann
7d27a2c4a4 Add chapter information to frontmatter 2020-02-11 10:29:48 +01:00
Philipp Oppermann
a3eeb1ded7 Clarify that x86-interrupt only saves registers that are overwritten 2020-02-07 18:18:33 +01:00
Philipp Oppermann
4707ea617f Update Allocator Designs post to signal OOM instead of panicking on overflow (#739) 2020-02-04 09:47:43 +01:00
Philipp Oppermann
83239394dd Mention potential bump allocator extensions (#722)
These extensions make it possible to reuse freed memory in more cases. While they would fix the failing test, they are no general solutions.
2020-02-04 08:55:02 +01:00
Philipp Oppermann
5276972c67 Set meta.description tag correctly 2020-02-03 17:13:28 +01:00
Philipp Oppermann
670ac60e1b Update Allocator Designs post to use LinkedListAllocator::lock method 2020-01-30 13:04:56 +01:00
Philipp Oppermann
409c6de44a Add doc link for eh_personality language item 2020-01-29 13:29:01 +01:00
Philipp Oppermann
571c66c1b2 Merge pull request #729 from phil-opp/front-page-update
Some style updates to the front page
2020-01-28 17:45:18 +01:00
Philipp Oppermann
6a56ea242f Fix dummy allocator code example (#728)
We forgot to remove the `allocator::` prefix when moving the ALLOCATOR declaration into the `allocator` module.
2020-01-28 17:10:46 +01:00
Philipp Oppermann
007bf8a937 Move posts about red zone and disabling SIMD in second post folder
They are strongly related to the second post.
2020-01-28 16:57:00 +01:00
Philipp Oppermann
0c67111e68 Merge pull request #721 from phil-opp/align-up-performance
Provide multiple implementations of align_up and mention performance
2020-01-28 10:39:20 +01:00
Philipp Oppermann
16a6aca76a Use bitmask method instead of align_offset
See https://github.com/phil-opp/blog_os/issues/720#issuecomment-578874828
2020-01-28 10:21:20 +01:00
Philipp Oppermann
c0399b04db Update allocator designs post to use checked additions (#727) 2020-01-27 13:25:13 +01:00
Philipp Oppermann
4b8c902354 Fix typo 2020-01-27 12:46:33 +01:00
Philipp Oppermann
7070bb608d Fix typo
Accidentally introduced in 0b9ca84735.
2020-01-22 12:42:19 +01:00
Philipp Oppermann
3a6aa9834a Provide multiple implementations of align_up and mention performance 2020-01-22 11:36:54 +01:00
Philipp Oppermann
0346ec3111 Merge pull request #719 from phil-opp/allocator-designs
New post about allocator designs
2020-01-20 14:22:09 +01:00
Philipp Oppermann
2f926b601c Update release date 2020-01-20 14:18:10 +01:00
Philipp Oppermann
d6da1c8485 Typo fixes 2020-01-20 14:17:44 +01:00
Philipp Oppermann
6ecf2998ee Minor improvements 2020-01-20 14:00:52 +01:00
Philipp Oppermann
13d65e64b5 Improve post introduction 2020-01-20 13:09:46 +01:00
Philipp Oppermann
0b9a80684a Fix typo 2020-01-20 11:47:54 +01:00
Philipp Oppermann
bd94c52c36 What's next? 2020-01-20 11:45:29 +01:00
Philipp Oppermann
9d25a18f9e Write summary 2020-01-20 11:38:02 +01:00
Philipp Oppermann
987138f5bf Write discussion section for fixed-size block allocator 2020-01-20 11:04:21 +01:00
Philipp Oppermann
dc8d0a833b Add image 2020-01-20 10:09:08 +01:00
Philipp Oppermann
6368938b9e Link to free list wikipedia article 2020-01-20 10:08:33 +01:00
Philipp Oppermann
deca65eb1f Break long line in code excerpt 2020-01-15 18:23:59 +01:00
Philipp Oppermann
2cfa13a48f Add missing imports 2020-01-15 18:13:43 +01:00
Philipp Oppermann
687c81eedb Array initialization using non-Copy types requires feature gate 2020-01-15 18:06:30 +01:00
Philipp Oppermann
658212c1f5 Add bullet points for discussion section 2020-01-15 17:17:27 +01:00
Philipp Oppermann
04857a063d Write short 'Using it' section 2020-01-15 15:42:16 +01:00
Philipp Oppermann
5d14722601 Store a Option<&mut ListNode in head array instead of a dummy ListNode 2020-01-15 15:34:13 +01:00
Philipp Oppermann
db20a40745 Write implementation section for fixed-size block allocator 2020-01-15 13:42:39 +01:00
Philipp Oppermann
07b1ee0199 Fix internal link 2020-01-15 13:42:08 +01:00
Philipp Oppermann
ad671a3a92 Continue fixed-size block allocator section 2020-01-14 12:34:26 +01:00
Philipp Oppermann
f042761ada Fix typo 2020-01-14 11:50:28 +01:00
Philipp Oppermann
64e5b67f35 Remove old content 2020-01-14 11:49:07 +01:00
Philipp Oppermann
c92b0d46dc Begin introduction for fixed-size block allocator 2020-01-14 11:48:28 +01:00
Philipp Oppermann
1915e6feb4 Minor improvements to linked list section 2020-01-14 11:48:09 +01:00
Philipp Oppermann
8f80378e65 Improve section about performance of linked list allocator 2020-01-14 10:50:32 +01:00
Philipp Oppermann
b34cad7c61 Improve example for merging freed blocks 2020-01-14 10:50:00 +01:00
Philipp Oppermann
e4c07e0356 Fill in images related to merging freed blocks 2020-01-13 13:21:58 +01:00