摘要: CAS-Compare & Set,或是 Compare & Swap 现在cpu 都支持cas原子操作了, 比如x86下 对应的是CMPXCHG汇编指令有了它 我们来看下各种无锁队列数据结构 这个操作用C语言来描述就是下面这个样子:(代码来自Wikipedia的Compare And Swap)看 阅读全文
posted @ 2020-10-16 16:10 codestacklinuxer 阅读(160) 评论(0) 推荐(0)
摘要: https://linux.cn/article-9273-1.html https://lwn.net/Articles/365835/ Documentation/trace/events.txt trace/ftrace-design.txt 什么是 ftrace? ftrace 是一个 Li 阅读全文
posted @ 2020-10-16 14:54 codestacklinuxer 阅读(158) 评论(0) 推荐(1)