Nico Weber
|
de4a9c61d7
malloc: Fix build with RECYCLE_BIG_ALLOCATIONS not defined
|
4 years ago |
Nico Weber
|
344090a5b0
malloc: Add comments spelling out the MAGIC_HEADERS in ascii
|
4 years ago |
Nico Weber
|
430b265cd4
AK: Rename KB, MB, GB to KiB, MiB, GiB
|
4 years ago |
Muhammad Zahalqa
|
11b9e8b366
LibC: Some calloc() and realloc() improvements (#3108)
|
4 years ago |
Ben Wiederhake
|
9d2d97a059
LibC: Avoid ninja-imports of system functions
|
4 years ago |
Ben Wiederhake
|
f7fe63c6b0
LibC: Mark compilation-unit-only functions as static
|
4 years ago |
Andreas Kling
|
044b4cc090
LibC: Flatten malloc() and free()
|
5 years ago |
Andreas Kling
|
223b96c820
LibC: Make sure malloc chunks are 8-byte aligned
|
5 years ago |
Andreas Kling
|
30025dd576
LibC: Notify UserspaceEmulator about malloc *after* scrubbing
|
5 years ago |
Andreas Kling
|
869a3e2cf3
LibC: Notify UserspaceEmulator about BigAllocationBlock mallocs
|
5 years ago |
Andreas Kling
|
4aa81a4fd9
LibC: Communicate malloc() and free() operations to UserspaceEmulator
|
5 years ago |
Andreas Kling
|
9257657340
LibC: Some s/int/size_t/ in the malloc code
|
5 years ago |
Andreas Kling
|
bded472ec4
Revert "AK+LibC: Move non-placement new/delete into LibC"
|
5 years ago |
Andrew Kaster
|
2c82347393
AK+LibC: Move non-placement new/delete into LibC
|
5 years ago |
Andreas Kling
|
37fc6c117c
Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller
|
5 years ago |
Andreas Kling
|
b1058b33fb
AK: Add global FlatPtr typedef. It's u32 or u64, based on sizeof(void*)
|
5 years ago |
Andreas Kling
|
52954ccce6
LibC: Fix crash in free() now that mprotect() works correctly
|
5 years ago |
Sergey Bugaev
|
e0ecfc0c92
LibC: Statically allocate allocators
|
5 years ago |
Andreas Kling
|
69bb0c0246
malloc: Use 64KB blocks (instead of 4KB)
|
5 years ago |
Andreas Kling
|
fa97ff1c83
LibC: Allow opting into malloc() and free() performance event logging
|
5 years ago |
Andreas Kling
|
94ca55cefd
Meta: Add license header to source files
|
5 years ago |
Andrew Kaster
|
150837e7e8
LibC: Prevent assertions in malloc/free at exit time
|
5 years ago |
Sergey Bugaev
|
d91c40de3b
LibC: Make empty malloc blocks purgeable
|
5 years ago |
Sergey Bugaev
|
1ad5568759
LibC: Store empty malloc blocks in an array instead of a linked list
|
5 years ago |
Andreas Kling
|
d422c46ebb
LibC: Also mark empty-but-kept-around BigAllocationBlocks as PROT_NONE
|
5 years ago |
Andreas Kling
|
ddd5411472
LibC: Protect empty-but-kept-around ChunkedBlocks with PROT_NONE
|
5 years ago |
Andreas Kling
|
6d7854919a
LibC: Some build fixes for strange platforms
|
5 years ago |
Sergey Bugaev
|
3439a479af
LibThread: Move CLock to LibThread::Lock
|
5 years ago |
Andreas Kling
|
a6b5bb439c
LibC: Don't clobber errno in free().
|
6 years ago |
Robin Burchell
|
adeead24a3
LibC: Fix MALLOC_DEBUG to work
|
6 years ago |