首页
社区
课程
招聘
[转帖]My First Kernel Module: A Debugging Nightmare by Ryan Eberhardt
发表于: 2020-11-20 14:46 2160

[转帖]My First Kernel Module: A Debugging Nightmare by Ryan Eberhardt

2020-11-20 14:46
2160

My First Kernel Module: A Debugging Nightmare by Ryan Eberhardt

Nov 18, 2020

Beautiful rendition of me frying the kernel

This is the story of the time I wrote some code, deployed it to production, and ended up bricking the server it was running on by frying the kernel.

This post is about perils of concurrency and race conditions. My code was nearly correct, but ultimately, there were two major synchronization bugs that killed it.

This is a really long post that gets into the weeds at times, but I have tried to write it so that you can jump into any section and hopefully learn something from it:


https://reberhardt.com/blog/2020/11/18/my-first-kernel-module.html


[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 1
支持
分享
最新回复 (2)
雪    币: 2322
活跃值: (8735)
能力值: ( LV2,RANK:15 )
在线值:
发帖
回帖
粉丝
2

文章本地存档

上传的附件:
2020-11-20 14:54
0
雪    币: 97697
活跃值: (200829)
能力值: (RANK:10 )
在线值:
发帖
回帖
粉丝
3
FleTime 文章本地存档
2020-11-20 14:56
0
游客
登录 | 注册 方可回帖
返回
//