toy
toy copied to clipboard
Simple OS-like program for x86-64 and AArch64
This situation is reproduced in ~25% of launches. Host machine: Mac OS X; virtual machine (under VMware): Ubuntu 12.04.
We need to implement a memory pool (for fixed-sized blocks) on top of kmalloc, kfree, etc. The current memory pool functions (create_mem_pool, alloc_block, free_block, destroy_mem_pool) have no real implementation; they...
We need to adopt an existent memory allocator to implement stubs: kmalloc, kfree, etc. Such allocator should be under BSD license.
We need really hard concurrent tests to check them against deadlocks and race conditions.
Now the scheduler uses fixed priorities, we need an additional support for dynamic ones. Practically most of the implementation should be located inside the function: static inline void update_priority_quantum(struct thread_data...