3 ms·
Stupid RCU Tricks: Enlisting the Aid of a Debugger
- ndesaulniers 6y agoFor tips on using gdb with the Linux kernel: https://nickdesaulniers.github.io/blog/2018/10/24/booting-a-custom-linux-kernel-in-qemu-and-debugging-it-with-gdb/ https://nickdesaulniers.github.io/blog/2018/10/24/booting-a-... I extended our Qemu boot smoke tests to auto enable gdb with one additional flag, and I know use this all the time: https://github.com/ClangBuiltLinux/boot-utils/commit/6c8c52dbfc2693ebb262407d11040bafc339de28 https://github.com/ClangBuiltLinux/boot-utils/commit/6c8c52d...
- 1DRACOSEA8 6y agoDon’t blame the algorithm, blame the orchestration of RCU on a non RCU optimized instruction pipeline. Which is the traditional out of the box Linux offering.