Skip to content

DevMindset

  • Programming
  • Linux
  • Developer mindset
  • Tools & Workflow

Anatomy of a Segfault — From MMU Through Kernel to gdb Core Dump

2026-05-302026-05-29 by Piotr Karasiński

What exactly happens when a process touches a bad address. From the MMU and page table through the kernel page fault handler to core dump analysis in gdb — null deref, stack overflow, use-after-free.

Categories Linux Tags arch linux, C, gdb, linux, memory management, segfault Leave a comment

.bashrc — Anatomy of Shell Startup and Performance Optimization

2026-05-302026-05-28 by Piotr Karasiński

Your terminal takes 800 ms to start. Bash loading anatomy, lazy loading version managers, completion caching, PS1 without synchronous git status — and how to drop to 50 ms without compromises.

Categories Linux, Tools & Workflow Tags linux, performance Leave a comment

epoll vs io_uring — When the Event Loop Isn’t Enough

2026-05-302026-05-28 by Piotr Karasiński

Anatomy of two Linux I/O models. epoll vs io_uring, readiness vs completion, syscall overhead, SQPOLL — and when reaching for io_uring instead of an event loop actually pays off.

Categories Linux, Programming Tags kernel, linux, performance Leave a comment

The DRY Myth — When Code Duplication Is the Correct Architecture

2026-05-302026-05-26 by Piotr Karasiński

DRY has become a dogma that destroys more code than it saves. When duplication is the correct architectural decision — and how to recognize the moment when chasing “Don’t Repeat Yourself” stops being engineering.

Categories Developer mindset, Programming Tags clean code, design patterns, DRY, refactoring, software architecture Leave a comment

cgroups v2 as a Native Runtime Isolation Primitive — No Docker Required

2026-05-302026-05-25 by Piotr Karasiński

Skip the container abstraction layer. Enforce CPU, memory & I/O limits directly via cgroupfs — zero daemon overhead, no OCI ceremony. A deep dive into cgroups v2 on Arch Linux.

Categories Linux Tags arch linux, cgroups-v2, kernel, linux, processes, runtime isolation, systemd, systems programming Leave a comment
Older posts
Page1 Page2 Next →
  • Privacy Policy
  • Cookies Policy
  • Contact
  • About
  • About Me — Piotr Karasiński
© 2026 DevMindset • Built with GeneratePress