ladybird/Kernel
Daniel Bertalan e3eb68dd58 AK+Kernel: Avoid double memory clearing of HashTable buckets
Since the allocated memory is going to be zeroed immediately anyway,
let's avoid redundantly scrubbing it with MALLOC_SCRUB_BYTE just before
that.

The latest versions of gcc and Clang can automatically do this malloc +
memset -> calloc optimization, but I've seen a couple of places where it
failed to be done.

This commit also adds a naive kcalloc function to the kernel that
doesn't (yet) eliminate the redundancy like the userland does.
2022-03-15 11:56:46 +01:00
..
API Kernel: Mark sys$lseek() as not needing the big lock 2022-03-09 16:43:00 +01:00
Arch Kernel: Move aarch64 Prekernel into Kernel 2022-03-12 14:54:12 -08:00
Bus Kernel/PCI: Break early of controller iteration over devices in OOM case 2022-03-14 22:39:09 +01:00
Devices Kernel/PCI: Don't hold spinlocks when doing fast device enumeration 2022-03-14 22:39:09 +01:00
FileSystem Kernel: Put Process unveil state in a SpinlockProtected container 2022-03-08 00:19:49 +01:00
Firmware
Graphics Kernel/PCI: Don't hold spinlocks when doing fast device enumeration 2022-03-14 22:39:09 +01:00
Heap AK+Kernel: Avoid double memory clearing of HashTable buckets 2022-03-15 11:56:46 +01:00
Interrupts Kernel: Fix allocating identity-mapped APIC memory on x86_64 2022-02-21 20:44:09 +02:00
Library Kernel: Remove dead code from ThreadSafeWeakPtr 2022-02-13 23:02:57 +01:00
Locking Kernel: Make SpinlockProtected constructor forward all arguments 2022-03-08 00:19:49 +01:00
Memory Kernel: Make Inode::set_shared_vmobject() OOM-fallible 2022-02-14 11:35:20 +01:00
Net Kernel/PCI: Don't hold spinlocks when doing fast device enumeration 2022-03-14 22:39:09 +01:00
Prekernel Kernel: Move aarch64 Prekernel into Kernel 2022-03-12 14:54:12 -08:00
Storage Kernel/PCI: Break early of controller iteration over devices in OOM case 2022-03-14 22:39:09 +01:00
Syscalls Revert "Kernel: Use an ArmedScopeGuard to revert changes after failed mmap" 2022-03-12 21:45:57 -08:00
Tasks
Time Kernel: Use TRY() when validating clock_id in TimeManagement 2022-02-21 15:47:51 -08:00
TTY
AddressSanitizer.cpp
AddressSanitizer.h
Assertions.h
AtomicEdgeAction.h
BootInfo.h
CMakeLists.txt Kernel: Move aarch64 Prekernel into Kernel 2022-03-12 14:54:12 -08:00
CMOS.cpp
CMOS.h
CommandLine.cpp Kernel: Change PCI access commandline option to also represent no access 2022-03-02 18:41:54 +01:00
CommandLine.h Kernel: Change PCI access commandline option to also represent no access 2022-03-02 18:41:54 +01:00
Coredump.cpp Everywhere: Make JSON serialization fallible 2022-02-27 20:37:57 +01:00
Coredump.h
Debug.h.in
DoubleBuffer.cpp
DoubleBuffer.h
embedmap.sh
Forward.h
FutexQueue.cpp
FutexQueue.h
GlobalProcessExposed.cpp Kernel/PCI: Don't hold spinlocks when doing fast device enumeration 2022-03-14 22:39:09 +01:00
init.cpp Kernel: Panic if the init process dies 2022-03-08 23:30:47 +01:00
KBuffer.h
KBufferBuilder.cpp
KBufferBuilder.h
KLexicalPath.cpp
KLexicalPath.h
kprintf.cpp
kstdio.h
KString.cpp
KString.h
KSyms.cpp
KSyms.h
MiniStdLib.cpp
mkmap.sh
Multiboot.h
Panic.cpp
Panic.h
PerformanceEventBuffer.cpp Kernel: Fixed behavior of repeated calls to register_string 2022-03-03 14:53:35 -08:00
PerformanceEventBuffer.h Kernel: Fixed behavior of repeated calls to register_string 2022-03-03 14:53:35 -08:00
PerformanceManager.h Kernel/Profiling: Add profiling to read syscall 2022-02-14 11:38:13 +01:00
PhysicalAddress.h
Process.cpp Kernel: Panic if the init process dies 2022-03-08 23:30:47 +01:00
Process.h Kernel: Put Process unveil state in a SpinlockProtected container 2022-03-08 00:19:49 +01:00
ProcessExposed.cpp
ProcessExposed.h Kernel/PCI: Don't create /proc/pci if PCI is disabled 2022-03-02 18:41:54 +01:00
ProcessGroup.cpp
ProcessGroup.h
ProcessProcFSTraits.cpp
ProcessSpecificExposed.cpp Kernel: Bail out earlier from Process::lookup_stacks_directory 2022-03-14 23:28:35 +01:00
Random.cpp
Random.h
RTC.cpp
RTC.h
SanCov.cpp
Scheduler.cpp Kernel: Try to dispatch pending signals on context switch 2022-02-21 19:42:16 +01:00
Scheduler.h
Sections.h
StdLib.cpp
StdLib.h
Syscall.cpp
Thread.cpp Kernel: Save and restore FPU state on signal dispatch on i386/x86_64 2022-03-04 20:07:05 +01:00
Thread.h Kernel: Fill some siginfo and ucontext fields on SA_SIGINFO 2022-03-04 20:07:05 +01:00
ThreadBlockers.cpp
ThreadTracer.cpp
ThreadTracer.h
TimerQueue.cpp
TimerQueue.h
UBSanitizer.cpp
UnixTypes.h Kernel: Add support for SA_SIGINFO 2022-03-04 20:07:05 +01:00
UserOrKernelBuffer.cpp
UserOrKernelBuffer.h
VirtualAddress.h
WaitQueue.cpp
WaitQueue.h
WorkQueue.cpp
WorkQueue.h