Skip to content

DevMindset

  • Programming
  • Linux
  • Developer mindset
  • Tools & Workflow

Linux

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

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

What fork() in Linux Really Does — And Why It Matters More Than You Think

2026-05-302026-05-22 by Piotr Karasiński
Linux fork() system call demonstration with strace output, process tree, and Copy-on-Write semantics on Arch Linux

fork() in Linux isn’t just process copying. It’s one of the cleverest kernel mechanisms — Copy-on-Write, shared file descriptors, inherited mutexes. Find out what really happens under the hood.

Categories Linux Tags fork, kernel, linux, operating systems, processes, systems programming Leave a comment
  • Privacy Policy
  • Cookies Policy
  • Contact
  • About
  • About Me — Piotr Karasiński
© 2026 DevMindset • Built with GeneratePress