Linux Kernel Journey
Linux Kernel Journey
Aug 25, 2024 · Fundamentals

Analyzing Linux Memory Management Locks and Key Optimization Cases

The article examines the role of various locks in Linux kernel memory management, explains their APIs and sleeping constraints, presents detailed case studies of lock‑related performance patches—including per‑memcg LRU, mmap_lock IO‑fault path, SPF, PVL, fault‑around, unmap, and rmap lockless optimizations—and summarizes common strategies for reducing lock contention and improving scalability.

LinuxPerformance Optimizationkernel
0 likes · 28 min read
Analyzing Linux Memory Management Locks and Key Optimization Cases
php Courses
php Courses
Aug 9, 2022 · Backend Development

Applying Custom Patches to Composer Packages Using a Post‑Autoload‑Dump Script

This guide explains a simple method to apply custom modifications to Composer packages by copying the needed files into a patches directory and configuring the post‑autoload‑dump script to automatically overwrite the original files during installation or update, avoiding the need for external tools.

Backenddependency managementpatches
0 likes · 2 min read
Applying Custom Patches to Composer Packages Using a Post‑Autoload‑Dump Script