summaryrefslogtreecommitdiff
path: root/kernel/sched
AgeCommit message (Collapse)Author
2024-12-12kernel: Fix/improve cleanup of process after exitAnton Kling
2024-12-12procfs: Add a procfsAnton Kling
Userland can now interface with processes by writing/reading from `/proc/<pid>/<entry>` It can send signals, for example `echo 15 > /proc/1/signal`
2024-12-08kernel: Change error reporting for exec*Anton Kling
2024-11-28changesAnton Kling
2024-10-30kernel: Improve error handling for OOMAnton Kling
2024-10-14kernel: small bug fixesAnton Kling
2024-10-14kernel: stuffAnton Kling
2024-09-12Kernel: Add support for shebangsAnton Kling
Adds support for shebangs (#!) that allow for things such as shell scripts without appending `sh` before the file.
2024-07-06Kernel: Add kmalloc scanAnton Kling
This will scan for possible overflows in the program. It is a somewhat expensive operation but really useful for debugging.
2024-07-06Kernel: Add queue syscall and improve TCPAnton Kling
2024-07-04scheduler: Use get_uptime() since it caches the resultAnton Kling
Apparently getting the current TSC is a expensive operation. This change had a significant improvements for I/O heavy applications.
2024-07-03Kernel/Time: Improve time keepingAnton Kling
This makes use of TSC and now provides a file system interface for userland programs to change the system time.
2024-07-01VFS: Move towards unifying vfs_inode_t and vfs_fd_tAnton Kling
There is no need for these to be seperate. They will probably move to the same struct soon.
2024-06-30Kernel: cleanupAnton Kling
2024-06-28Bug fixesAnton Kling
2024-06-26Scheduler: Don't run switch_task() if task switch is already occuringAnton Kling
2024-06-23Kernel: Fix small out of memory issuesAnton Kling
2024-06-22Kernel stuffAnton Kling
2024-06-17Reorganize logging codeAnton Kling
2024-06-09Bug fix: Avoid race condition for exited process recieving interruptsAnton Kling
2024-04-29Kernel/Socket: Move sockets back to being file descriptorsAnton Kling
2024-04-27Kernel: Make "relist" able to dynamically resizeAnton Kling
2024-04-27Kernel: Make file descriptor numbers reusable.Anton Kling
Instead of using the "append only" list it now uses "relist" which allows for indexes to be removed.
2024-04-26Kernel/VFS: Change polling from variables to functionsAnton Kling
Instead of having to store state in variables functions are called to check the object directly.
2024-04-26Kernel: clang format fixesAnton Kling
2024-04-26Kernel: More out of memory condition checksAnton Kling
2024-04-26Kernel: Handle userspace memory errors instead of crashing.Anton Kling
The kernel should kill the process if it has memory issues.
2024-04-18Kernel: Fix compiler warningsAnton Kling
2024-04-16Kernel: Improve "out of memory" error handlingAnton Kling
It can now boot with fairly low memory while not crashing and instead gracefully failing the operation. Userland still does not properly handle errors.
2024-04-15Bug fix and cleanup.Anton Kling
2024-04-13Kernel: Don't hard fail if the kernel can't allocate memory.Anton Kling
Currently this is just a improvement of error handling but it should also try to free up memory where it is possible.
2024-04-12Kernel/MMU: Dellocate pagedirectory when process exits.Anton Kling
2024-04-02Kernel: Use "struct list" to handle file descriptors instead of a fixed ↵Anton Kling
sized array
2024-04-02Kernel: Fix some memory leaksAnton Kling
2024-03-26Increase support for signalsAnton Kling
2024-03-25Random changesAnton Kling
2024-03-17stuffAnton Kling
2024-03-14random changes madeAnton Kling
2024-02-25IPC: Inform the scheduler the process is waiting for a IPC messageAnton Kling
2024-02-22Kernel: Fix undefined behavior and cleanup functions.Anton Kling
The int_syscall caused crashes for higher level of optimizations. To fix this I rewrote the function in assembly as I deemed it to be simpler.
2024-02-21Kerenel: Cleanup halt checking codeAnton Kling
2024-02-21New clang-format optionsAnton Kling
2024-02-19Kernel/VFS: Cleanup of file descriptor haltsAnton Kling
2024-02-17cleanupAnton Kling
2024-02-16General cleanupAnton Kling
2024-02-14Kernel: Update signal handling and IPCAnton Kling
2024-02-07A lot of small changesAnton Kling
2023-11-29Kernel: Zero initialize process struct during creationAnton Kling
2023-11-28Meta: Apply new clang-format rules to kernelAnton Kling
2023-11-28Kernel: Add basic IPC and move to microkernel design.Anton Kling
The IPC design is currently a WIP and is nowhere near complete