aboutsummaryrefslogtreecommitdiff
path: root/src/uapi/conf.c
AgeCommit message (Collapse)Author
2024-07-06add RAM usage countingKimplul
+ Slightly more overhead but will help track down possible memory leaks in the future. Could also add in a flag for turning off/on but I don't think the difference in performance is that significant.
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.
2024-07-02enable irqs when we sleep or swap threadsKimplul
+ Also swap checks if thread is running
2024-06-01document sleepKimplul
2024-06-01add sleep syscallKimplul
+ Sets the current core to sleep
2024-05-24rename common to srcKimplul
+ I keep starting to type src and wondering why autocomplete won't work, I guess src is just uncounciously a better name