Nov 22, 2025 · 4 min read · In this post, I try to describe the high-level idea without going into too much implementation detail. Note: I’ll briefly discuss the initial kernel memory cgroup controller. The Linux kernel has adopted a completely redesigned controller (called obj...
Join discussionJul 22, 2025 · 3 min read · When we say "a container is lightweight", we mean it’s just a process — but with superpowers. From the outside, it feels like a mini operating system. But deep down, it’s a clever illusion created by namespaces, cgroups, and the Linux kernel. In thi...
MMayank commented
Jun 21, 2025 · 9 min read · So you’d be living under a rock if you have never heard of “Docker” and “containerization”. This blog aims to cover the inside of the hood components of a Docker container. This is a little more advanced than the Docker 101 getting started for beginn...
Join discussion
Jun 15, 2025 · 11 min read · Intro By nature, memory cgroup charging can lead to significant lock contention on the spinlock of struct res_counter when processes in a memory cgroup run on multiple CPUs. This happens because the kernel maintains a struct res_counter for each memo...
Join discussionJun 14, 2025 · 4 min read · I realized that I didn't discuss the new charge-commit-cancel scheme introduced in v2.6.29. Let's briefly cover this scheme in this article. A few changes since v2.6.25 There are a few important changes since v2.6.25: The reference counting of page_...
Join discussionJun 14, 2025 · 3 min read · Judge0 has a modular microservices-based architecture that looks something like this: API Server (REST API) Worker(s) (Isolated sandboxes that run user code) Database (PostgreSQL, for metadata about submissions) Message Queue (Redis Pub/Sub or op...
Join discussion
Jun 8, 2025 · 11 min read · This article explains how the LRU scheme with the memory cgroup controller was changed in Linux kernel v3.3 (released in 2012). This update integrated the memory cgroup into the core MM rather than just “bolting into” the MM code, and it also reduced...
Join discussionMay 25, 2025 · 9 min read · 2 Best Sites for Buying Verified Stripe Accounts If you're looking to buy a verified Stripe account, you're likely seeking a quick and reliable way to accept online payments. Stripe is a leading payment processor, but getting an account approved can ...
Join discussion
May 3, 2025 · 17 min read · Introduction Caution: This article only covers memory cgroup in Linux kernel v2.6.25. Things may have been changed a lot now. Control group, often abbreviated as cgroup, is a Linux kernel feature that allows managing resources (CPU, memory, network/s...
Join discussion