Commit Graph

118 Commits

Author SHA1 Message Date
Matheus aceaab3ddf vmm: fix changemap 2025-12-28 15:45:11 -03:00
Matheus 70d4c75cfe vmm: use red-black trees 2025-12-26 23:02:55 -03:00
Matheus 81f9e758dc kernel: misc fixes 2025-12-06 18:48:51 -03:00
Matheus 438ef959fe kernel: add python script to generate init dependency graph 2025-11-13 23:31:49 -03:00
Matheus c9d401f488 syscalls: sysinfo 2025-11-02 21:30:24 -03:00
Matheus d8c377f0d8 vmmcache: fix 2025-10-17 13:51:50 -03:00
Matheus 049b9c9ad6 kernel: random page cache fixes 2025-10-13 00:12:24 -03:00
Matheus a9f093fa29 Revert "vmmcache: break down lock"
This reverts commit a3a51abfed.
2025-09-18 20:19:10 -03:00
Matheus a3a51abfed vmmcache: break down lock 2025-09-07 02:14:26 -03:00
Matheus accad4d70a mmu: enable global pages 2025-09-07 00:05:36 -03:00
Matheus 2fa040096c slab: rewrite slab allocator 2025-09-04 22:55:19 -03:00
Matheus e28b2b1f2f alloc: add two more cache sizes 2025-09-01 21:38:26 -03:00
Matheus c381d34e96 vmmcache: fix locking bug 2025-08-25 20:05:49 -03:00
Matheus 607566531d kernel: rework init 2025-08-14 20:25:43 -03:00
Matheus 9bf5fb14c9 misc allocator optimisations 2025-02-15 21:47:28 -03:00
Matheus 8c42826cf1 Merge pull request #16 from Qwinci/openjdk-work
Add openjdk17 port
2025-01-13 11:46:23 -03:00
Qwinci d3c79c06a4 vmm: fix more logic bugs 2025-01-13 16:28:20 +02:00
Matheus 6245a3d19f kernel: add ubsan bindings, fix some UB reported by it 2024-12-31 11:20:27 -03:00
Matheus 4ee5fa42ae alloc: optimize 2024-12-28 22:50:08 -03:00
Matheus a6c169e5e6 kernel: finish work of removing interruptible mutexes 2024-12-24 21:30:25 -03:00
Matheus b1aff6378f vmm: on anonymous copy-on-write, just map the page if refcount is 1 2024-09-24 23:25:53 -03:00
Matheus 09836801a3 usercopy: usercopy_memset and possibly user helper macro 2024-09-21 12:05:44 -03:00
Matheus c76b37693b vmm: allow vmm_getphysical to return a page held 2024-09-18 21:27:36 -03:00
Matheus d5a4f2a4ad vmmcache: redo how vnode locking is expected 2024-09-18 18:03:07 -03:00
Matheus 5ef9fb0cb3 vmm: fix logic errors 2024-09-16 22:18:13 -03:00
Matheus f47236f7eb vmm: redo tlb shootdowns 2024-09-16 21:37:10 -03:00
Matheus 0a49ca75b5 mmu: arch_mmu_invalidate() -> arch_mmu_invalidate_range() 2024-09-16 17:34:05 -03:00
Matheus 16b6c86a5f cpu: rename _cpu() to current_cpu() 2024-09-15 19:03:09 -03:00
Matheus 32392573cc cpu: change all _cpu()->vmmctx to current_vmm_context 2024-09-15 18:07:05 -03:00
Matheus e058d62261 cpu: change _cpu()->thread calls to current_thread() to fix smp race 2024-09-15 17:47:26 -03:00
Matheus 84ce545cf6 vmmcache: make dirty page list FIFO 2024-09-11 19:45:35 -03:00
Matheus ee254a81e9 vfs: vfs_iscacheable 2024-09-04 21:33:59 -03:00
Matheus 0f18341674 kernel: vmm_changemmuflags cred check 2024-08-30 21:22:17 -03:00
Matheus e442a3de8e vmm: redo changemmurange and make it dirty pages when applicable 2024-08-30 20:20:41 -03:00
Matheus f55b51a06d vfs: finish new locking scheme 2024-08-27 21:02:12 -03:00
Matheus 42bda0bf92 vfs: redo locking 2024-08-26 21:47:23 -03:00
Matheus f8a5d9426b vmm: send SIGBUS on vmm OOM 2024-08-21 23:52:14 -03:00
Matheus dd75dc2d87 vmm: vmm_changemmuflags 2024-08-21 21:33:29 -03:00
Matheus dfb75e78fc vmm: fix vmm_getphysical 2024-08-10 22:42:05 -03:00
Matheus d310764085 vmm: VMM_FLAGS_REPLACE 2024-08-10 22:41:29 -03:00
Matheus d447751c30 vmm: properly handle direct physical mapping unmap 2024-07-30 20:49:38 -03:00
Matheus e675f1c152 vmm/mmu: be more selective on which parts of the physical memory to map initially 2024-07-27 23:56:38 -03:00
Matheus f3e09527c9 vmmcache: pushpage 2024-07-16 20:49:44 -03:00
Matheus 645e1e2809 vmmcache: fix dirty file pages truncation 2024-07-16 20:23:55 -03:00
Matheus 0ff8a6c0fa pmm: account for LIMINE_MEMMAP_KERNEL_AND_MODULES 2024-07-10 19:46:22 -03:00
Matheus a8a097192d vmm: defrag file mappings too 2024-06-30 12:12:17 -03:00
Matheus 7821eb61c1 vmmcache: sleep while waiting for ready pages 2024-06-27 22:08:01 -03:00
Matheus f1efe195bf vmmcache: use new event system for syncing 2024-06-27 21:55:14 -03:00
Matheus 6c3cdf495d vmm: fix file mapping defrag bug 2024-06-22 19:29:07 -03:00
Matheus 68624ad31b pmm: add assert against use after free 2024-06-16 12:48:41 -03:00