Questions
Read the code, predict what happens, then see why. Hand-written questions on C++, Rust, and the systems underneath them.
- accept() at the RLIMIT_NOFILE limit in a level-triggered epoll loopMedium
- CFS bandwidth throttling with low average CPU usageHard
- malloc() beyond available memory under default overcommitHard
- Raising SIGUSR1 and SIGRTMIN five times each while blockedMedium
- Writing to a pipe after the reader closesMedium
- Child state before wait()Easy
- Counting fork() outputEasy
- Three threads at different priorities sharing one mutexHard
- FD_CLOEXEC across fork() and exec()Medium
- Two page faults on a memory-mapped fileMedium
- What ASLR randomizes across two runsHard
- mlockall() after pre-faulting a bufferMedium
- Hand-rolled io_uring submission with IORING_SETUP_SQPOLLHard
- What triggers a context switchMedium
- Touching a freshly mmap'd pageMedium
- A signal arriving during a blocking read()Medium
- io_uring versus a loop of pread() callsMedium
- File descriptors across exec()Medium
- A read-only warm-up pass and NUMA first-touchHard
- Two threads locking two mutexes in opposite orderMedium
1–20 of 53
Page 1 of 3