aboutsummaryrefslogtreecommitdiff
path: root/include/arch/tcb.h
AgeCommit message (Collapse)Author
2024-08-26fix memory leaks destroying threadsKimplul
2024-07-06adjust stack handlingKimplul
2024-07-06prefer __riscv_xlen over riscv64Kimplul
2024-07-04generalize orphantsKimplul
+ Allow threads to make themselves become orphants
2024-07-04add zombie and orphan threadsKimplul
+ Should write this down somewhere but the idea is that when a process gets killed, it frees all the memory it can, making all threads within that process orphans. Orphaned threads are assigned to the init process, which will generally call exit() on each one. Zombie threads are threads that own some bit of shared data, and whose reference count is above zero. They may not be swapped to or called, even though they take up space in thread map and reserve their thread ID.
2023-10-09experimenting with removing lists threads per procKimplul
+ Gives a very slight improvement to RPC speeds, but mostly cleans up code a little bit.
2023-10-09move rpc stack handling to arch-specific codeKimplul
+ Fairly considerable speedup, as we don't have to look up the rpc pte every time separately, instead cacheing them. Adds an architecture specific limitation to total rpc stack size, though.
2023-08-04add initial smp bringupKimplul
2023-05-01update license stuffKimplul
2023-04-30rename to kmiKimplul
2022-06-12add license textsKimplul
2022-05-23new include structure, make parse easier for doxyKimplul