serenity/Kernel
Andreas Kling 69b9b2888c Kernel: Don't allocate so much when generating coredumps
Instead of creating a bunch of ByteBuffers and concatenating them to
generate the "notes" segment, we now simply create a KBufferBuilder
and tell each of the notes generator helpers to write into the builder.

This allows the code to flow more naturally, with some bonus additional
error propagation. :^)
2021-09-06 18:56:51 +02:00
..
ACPI Kernel: Add x2APIC support 2021-09-04 22:22:58 +02:00
API Kernel: Make KResult usable with TRY() as well 2021-09-05 14:50:52 +02:00
Arch Kernel: Rename ProcessPagingScope => ScopedAddressSpaceSwitcher 2021-09-06 18:56:51 +02:00
Bus Kernel: Make SysFS and ProcFS generator functions return KResult 2021-09-06 18:56:51 +02:00
Devices Kernel: Rename ProcessPagingScope => ScopedAddressSpaceSwitcher 2021-09-06 18:56:51 +02:00
FileSystem Kernel: Make KBufferBuilder::append() & friends return KResult 2021-09-06 18:56:51 +02:00
Graphics Kernel: Use TRY() in Graphics::VirtIOGPU::FrameBufferDevice 2021-09-06 02:11:46 +02:00
Heap Kernel: Make kernel region allocators return KResultOr<NOP<Region>> 2021-09-06 01:55:27 +02:00
Interrupts Kernel: Make kernel region allocators return KResultOr<NOP<Region>> 2021-09-06 01:55:27 +02:00
Library Kernel: Rename SpinLock => Spinlock 2021-08-22 03:34:10 +02:00
Locking Kernel: Make all Spinlocks use u8 for storage, remove template 2021-09-05 20:46:02 +02:00
Memory Kernel: Rename ProcessPagingScope => ScopedAddressSpaceSwitcher 2021-09-06 18:56:51 +02:00
Modules
Net Kernel: Make kernel region allocators return KResultOr<NOP<Region>> 2021-09-06 01:55:27 +02:00
Prekernel Prekernel: Make build on aarch64 2021-08-28 21:51:30 +01:00
Storage Kernel: Tidy up Ext2FS construction a bit 2021-09-06 13:06:05 +02:00
Syscalls Kernel: Rename ProcessPagingScope => ScopedAddressSpaceSwitcher 2021-09-06 18:56:51 +02:00
Tasks
Time Kernel: Make kernel region allocators return KResultOr<NOP<Region>> 2021-09-06 01:55:27 +02:00
TTY Kernel: Make kernel region allocators return KResultOr<NOP<Region>> 2021-09-06 01:55:27 +02:00
AddressSanitizer.cpp
AddressSanitizer.h
Assertions.h
AtomicEdgeAction.h
BootInfo.h
CMakeLists.txt Kernel: Rename ProcessPagingScope => ScopedAddressSpaceSwitcher 2021-09-06 18:56:51 +02:00
CMOS.cpp
CMOS.h
CommandLine.cpp AK+Kernel: StringView hash map Traits should not set peek type to String 2021-08-18 10:21:19 +02:00
CommandLine.h AK+Kernel: StringView hash map Traits should not set peek type to String 2021-08-18 10:21:19 +02:00
ConsoleDevice.cpp Kernel: Convert UserOrKernelBuffer callbacks to use AK::Bytes 2021-09-01 18:06:14 +02:00
ConsoleDevice.h
Coredump.cpp Kernel: Don't allocate so much when generating coredumps 2021-09-06 18:56:51 +02:00
Coredump.h Kernel: Don't allocate so much when generating coredumps 2021-09-06 18:56:51 +02:00
Debug.h.in Kernel: Verify interrupts are disabled when interacting with Mutexes 2021-08-28 20:53:38 +02:00
DoubleBuffer.cpp
DoubleBuffer.h Kernel+LibC: Implement FIONREAD ioctl 2021-08-22 10:29:06 +02:00
embedmap.sh
Forward.h Kernel: Make all Spinlocks use u8 for storage, remove template 2021-09-05 20:46:02 +02:00
FutexQueue.cpp Kernel: Don't register thread as custom data for FutexBlocker 2021-08-24 01:57:11 +02:00
FutexQueue.h Kernel: Don't register thread as custom data for FutexBlocker 2021-08-24 01:57:11 +02:00
GlobalProcessExposed.cpp Kernel: Make SysFS and ProcFS generator functions return KResult 2021-09-06 18:56:51 +02:00
init.cpp Kernel: Tidy up VirtualFileSystem::mount_root() a little bit 2021-09-05 14:46:44 +02:00
IO.h
KBuffer.h Kernel: Make kernel region allocators return KResultOr<NOP<Region>> 2021-09-06 01:55:27 +02:00
KBufferBuilder.cpp Kernel: Make KBufferBuilder::append() & friends return KResult 2021-09-06 18:56:51 +02:00
KBufferBuilder.h Kernel: Make KBufferBuilder::append() & friends return KResult 2021-09-06 18:56:51 +02:00
KLexicalPath.cpp
KLexicalPath.h
kprintf.cpp Kernel: Rename ScopedSpinlock => SpinlockLocker 2021-08-22 03:34:10 +02:00
kstdio.h Kernel: Introduce a StringView overload of dbgputstr(..) 2021-08-13 11:08:11 +02:00
KString.cpp
KString.h Kernel: Annotate KString methods as [[nodiscard]] 2021-08-13 11:08:11 +02:00
KSyms.cpp
KSyms.h
linker.ld
MiniStdLib.cpp
mkmap.sh
Module.h
Multiboot.h
Panic.cpp
Panic.h
PerformanceEventBuffer.cpp Kernel: Rename ScopedSpinlock => SpinlockLocker 2021-08-22 03:34:10 +02:00
PerformanceEventBuffer.h AK+Kernel: Move KResult.h to Kernel/API for userspace access 2021-09-05 12:54:48 +02:00
PerformanceManager.h Kernel: Add syscall performance event type 2021-08-10 21:55:48 +02:00
PhysicalAddress.h
Process.cpp Kernel: Tidy up Coredump construction 2021-09-06 18:56:51 +02:00
Process.h Kernel: Improve find_elf_interpreter_for_executable() parameter names 2021-09-06 18:56:51 +02:00
ProcessExposed.cpp Kernel: Make SysFS and ProcFS generator functions return KResult 2021-09-06 18:56:51 +02:00
ProcessExposed.h Kernel: Make SysFS and ProcFS generator functions return KResult 2021-09-06 18:56:51 +02:00
ProcessGroup.cpp Kernel: Use KResultOr better in ProcessGroup construction 2021-09-06 01:55:27 +02:00
ProcessGroup.h Kernel: Use KResultOr better in ProcessGroup construction 2021-09-06 01:55:27 +02:00
ProcessProcFSTraits.cpp Kernel: Strongly typed user & group ID's 2021-08-29 01:09:19 +02:00
ProcessSpecificExposed.cpp Kernel: Make KBufferBuilder::append() & friends return KResult 2021-09-06 18:56:51 +02:00
Random.cpp Kernel: Convert random bytes interface to use AK::Bytes 2021-09-01 18:06:14 +02:00
Random.h Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
RTC.cpp
RTC.h
SanCov.cpp Kernel/KCOV: Bring closer to typical SerenityOS coding style 2021-09-06 01:55:27 +02:00
Scheduler.cpp Kernel: Make Threads always have a name 2021-09-06 13:06:05 +02:00
Scheduler.h Kernel: Rename SpinLock => Spinlock 2021-08-22 03:34:10 +02:00
Sections.h
StdLib.cpp Kernel: Make copy_{from,to}_user() return KResult and use TRY() 2021-09-05 17:38:37 +02:00
StdLib.h Kernel: Add copy_typed_from_userspace<T>(Userspace<T const*>) 2021-09-05 17:50:34 +02:00
Syscall.cpp Kernel: Declare syscall handlers with "using" instead of "typedef" 2021-09-05 09:48:43 +01:00
Thread.cpp Kernel: Rename ProcessPagingScope => ScopedAddressSpaceSwitcher 2021-09-06 18:56:51 +02:00
Thread.h Kernel: Make Threads always have a name 2021-09-06 13:06:05 +02:00
ThreadBlockers.cpp Kernel: Rename FileBlocker::unblock() => unblock_if_conditions_are_met() 2021-09-05 01:10:56 +02:00
ThreadTracer.cpp
ThreadTracer.h Kernel: Move {Process,Thread,Session,ProcessGroup}ID to Kernel/Forward.h 2021-08-14 19:58:11 +02:00
TimerQueue.cpp Kernel: Make all Spinlocks use u8 for storage, remove template 2021-09-05 20:46:02 +02:00
TimerQueue.h
UBSanitizer.cpp
UnixTypes.h Kernel: Move {Process,Thread,Session,ProcessGroup}ID to Kernel/Forward.h 2021-08-14 19:58:11 +02:00
UserOrKernelBuffer.cpp Kernel: Make copy_{from,to}_user() return KResult and use TRY() 2021-09-05 17:38:37 +02:00
UserOrKernelBuffer.h Kernel: Remove UserOrKernelBuffer::copy_into_string() 2021-09-05 01:10:56 +02:00
VirtualAddress.h Kernel: Make VirtualAddress methods constexpr 2021-08-25 12:12:59 +02:00
WaitQueue.cpp Kernel: Don't register thread as custom data for WaitQueueBlocker 2021-08-24 01:57:11 +02:00
WaitQueue.h Kernel: Don't register thread as custom data for WaitQueueBlocker 2021-08-24 01:57:11 +02:00
WorkQueue.cpp Kernel: Rename ScopedSpinlock => SpinlockLocker 2021-08-22 03:34:10 +02:00
WorkQueue.h Kernel: Make all Spinlocks use u8 for storage, remove template 2021-09-05 20:46:02 +02:00