2022年2月28日

摘要: 自旋锁 + dis local cpu preemt + dis local cpu interrupt 在linux/spinlock.h中定义了spinlock操作的API。 spinlock的思想就是在SMP环境中,保护共享的数据结构;也就是CPU-A正在访问(读写)共享数据的期间,其他CPU 阅读全文
posted @ 2022-02-28 14:42 tycoon3 阅读(327) 评论(0) 推荐(0)

导航