From 1ea7d9dec1b460ab76dfd6270596c8138c9c2b40 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 12 May 2022 15:52:25 +0300 Subject: initial workings of shared memory + Should document this better but essentially a server requests a shared buffer, and chan then share this buffer to a thread. Freeing the buffer is done through normal means. MR_SHARED is used for buffers that are shared, and MR_OWNED tells whoever is freeing that region that it is allowed to free the physical memory behind the shared buffer. --- TODO.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index dcfe0dd..8eb8ec9 100644 --- a/TODO.txt +++ b/TODO.txt @@ -46,6 +46,7 @@ under a common process ID. (sort of done, not sure if linked lists even + Timers should use the sp_tree thing sorted by time of completion, and then each timer interrupt just pops the smallest value off and jumps to the associated program. Easy. (started) ++ Add more flags to memory regions, for example MR_SHARED and MR_OWNED? !!! FUTURE: + Cache locality? -- cgit v1.3