During Kernel Recipes, after his talk on memory counters in Linux, I asked @vbabka a naive question : how does the kernel sort between active and inactive pages? He kindly pointed to this talk at LPC in 2022 https://www.youtube.com/watch?v=0bnWQF7WQP0

It turns out the answer is quite complex, as there are many special cases : the talk is 54 minutes long, and answering my question with an overview (skipping many details) takes 20+ minutes!

I learned a ton on how memory reclaim works, and I recommend you watch it if you like to understand the details of how your OS works.

#LinuxKernel #kr2024 #lpc2022 #KernelRecipes

Overview of memory reclaim in the current upstream kernel - Vlastimil Babka

YouTube
Join the the discussion on how to improve support for #RISCV in the Linux kernel at #LinuxPlumbers Conference this September in Dublin https://lpc.events/blog/2022/index.php/2022/06/05/microconferences-at-linux-plumbers-conference-risc-v #linux #kernel #linuxkernel #lpc2022
Linux Plumbers Conference 2022

The Linux Plumbers Conference (LPC) is a developer conference for the open source community. The LPC brings together the top developers working on the plumbing of Linux - kernel subsystems, core libraries, windowing systems, etc. - and gives them three days to work together on core design problems. The conference is divided into several working sessions focusing on different plumbing topics, as well as a general paper track.