Linux
Linux administration and internals: GRUB, partition recovery, sysctl and the kernel scheduler.
- Pinning Android threads with raw syscallsHow CoreTaskOptimizer finds Android's critical threads at boot and moves them onto the right CPU cores with sched_setaffinity, SCHED_FIFO and ioprio_set, and the five things I would change now.
- Installing Linux without a USB drive, using GRUBBoot a Linux installer ISO from an internal disk through GRUB. The working CachyOS entry I used from Fedora, an Ubuntu entry to adapt, and the errors I hit on the way.
- Recovering a lost Linux partition with TestDiskFind a deleted partition with TestDisk on Debian or Ubuntu, check its files are readable, then either copy them off or write the partition table back.
- Hardening a NixOS desktop with sysctlThe kernel settings my NixOS flake changes, what each one blocks, what it breaks, and the one line in my own config that undoes more than the rest put together.