Lorenzo

Linux kernel hacker at arm

Co-maintain memory mapping and rmap.

Wrote a book on memory management, pre-order now - nostarch.com/linux-memory-mana

Professional cat obsessive.

Obviously speak only for myself, personally...

📝

Допісы

💬 vitaut 🤍❤️🤍 🇺🇦 Handling subnormals is about to become 2x faster in zmij
Lorenzo
🌍 30.08.2026 08:49

@vitaut is it the fact you're dealing with IEEE whatever whatever floating point that makes lean useful or could there be uses of it that might be helpful in other realms, such as the kernel?

I suppose something strictly mathematical lends itself well to it better than usual code :)

Jula Lawall (who's great) has given a talk on formal verification in the kernel, e.g. this one at KR - kernel-recipes.org/en/2025/sch - that seems to ultimately conclude (in my view :) that it's really not all that practical except for perhaps very specific parts of it.

But I wonder if lean changes things in any way... :)

kernel-recipes.org Program verification for the Linux kernel: Potential costs and benefits (tentative) | Kernel Recipes
Падабаецца 0 Рэпосты 0
Lorenzo
🌍 28.04.2025 18:26

I wrote a book on Linux Memory Management, published by @nostarch - it's a comprehensive 1300 page exploration of Linux 6.0's memory management code, depth-first, diving into the code and REALLY explaining how things work.

The idea is to avoid hand waving as much as possible and literally explore what the kernel _actually_ does.

It's full of diagrams and careful explanations of logic including a ton of stuff you just can't find anywhere else.

It's currently available in its entirety in draft form via early access when you pre-order.

It's available at nostarch.com/linux-memory-mana

:)

Падабаецца 0 Рэпосты 0