Daniel Bertalan
|
85ea66932e
Kernel: Allow `kfree_aligned` to be called on null pointers
|
4 years ago |
Brian Gianforcaro
|
e7fb70b05c
Kernel: Allow kmalloc(..) / kmalloc_aligned(..) to return nullptr
|
4 years ago |
Daniel Bertalan
|
3099a6bf2a
Kernel+AK: Generate compile-time error for non-sized `delete`
|
4 years ago |
Daniel Bertalan
|
dd4ed4d22d
Kernel: Implement aligned `operator new` and use it
|
4 years ago |
Andreas Kling
|
25e850ebb1
Kernel: Remove krealloc()
|
4 years ago |
Andreas Kling
|
d38b4e4665
Kernel: Add kfree_sized(), kfree() with a known allocation size
|
4 years ago |
Daniel Bertalan
|
5491e0cdcc
AK+Kernel: Make fallible allocations compiler-agnostic
|
4 years ago |
Hendiadyoin1
|
553ea3036d
Kernel: Remove PAGE_SIZE from CPU.h
|
4 years ago |
Gunnar Beutner
|
f89e8fb71a
AK+LibC: Implement malloc_good_size() and use it for Vector/HashTable
|
4 years ago |
Brian Gianforcaro
|
788075c58b
Kernel: Declare operator new/delete noexcept for MAKE_ALIGNED_ALLOCATED
|
4 years ago |
Brian Gianforcaro
|
97adaaf933
Kernel: Declare operator new/delete as noexcept for the Kernel
|
4 years ago |
Brian Gianforcaro
|
1682f0b760
Everything: Move to SPDX license identifiers in all files.
|
4 years ago |
Andreas Kling
|
4fcc637e29
Kernel: Add MAKE_ALIGNED_ALLOCATED helper macro
|
4 years ago |
Andreas Kling
|
40f2abf7c3
Kernel: Allow kmalloc_aligned() alignment up to 4096
|
4 years ago |
Andreas Kling
|
38c8dc22cf
Kernel: Remove unused KMALLOC_DEBUG_LARGE_ALLOCATIONS mode
|
4 years ago |
asynts
|
7cf0c7cc0d
Meta: Split debug defines into multiple headers.
|
4 years ago |
asynts
|
eea72b9b5c
Everywhere: Hook up remaining debug macros to Debug.h.
|
4 years ago |
asynts
|
acdcf59a33
Everywhere: Remove unnecessary debug comments.
|
4 years ago |
Jean-Baptiste Boric
|
3cbe805486
Kernel: Move kmalloc heaps and super pages inside .bss segment
|
4 years ago |
Tom
|
4b66692a55
Kernel: Make Heap implementation reusable, and make kmalloc expandable
|
4 years ago |
Tom
|
ba6e4fb77f
Kernel: Fix kmalloc memory corruption
|
4 years ago |
Muhammad Zahalqa
|
746f6ea36d
Kernel: mark kmalloc with attributes
|
5 years ago |
Andreas Kling
|
ca4f714d68
Kernel: Use consistent names for kmalloc globals and remove volatile
|
5 years ago |
Andreas Kling
|
888e35f0fe
AK: Add ALWAYS_INLINE, NEVER_INLINE and FLATTEN macros
|
5 years ago |
Andreas Kling
|
8d51352b96
Kernel: Add crash logging heuristic for uninitialized kmalloc()/kfree()
|
5 years ago |
Andreas Kling
|
c1f74bf327
Kernel: Never validate access to the kmalloc memory range
|
5 years ago |
Andreas Kling
|
94ca55cefd
Meta: Add license header to source files
|
5 years ago |
Andreas Kling
|
0adbacf59e
Kernel: Demangle userspace ELF symbols in backtraces
|
5 years ago |
Andreas Kling
|
1c692e87a6
Kernel: Move kmalloc() into a Kernel/Heap/ directory
|
5 years ago |