0

Linux kernel 笔记 (5) ——spin_lock_irqsave

Posted by nanxiao on 七月 20, 2015 in Linux kernel 笔记 |

Linux kernel中最基本的lock原语就是spin lock(自旋锁)。实例代码如下: static […]

标签:,

0

Linux kernel 笔记 (4) ——memory barrier

Posted by nanxiao on 七月 20, 2015 in Linux kernel 笔记 |

由于编译器和处理器可以打乱程序的执行顺序,所以有些时候,我们需要“memory barrier”来保证内存访问 […]

标签:,

0

UP VS SMP

Posted by nanxiao on 七月 20, 2015 in 技术 |

UP(Uni-Processor):系统只有一个处理器单元,即单核CPU系统。 SMP(Symmetric M […]

标签:,

Copyright © 2013-2017 我的站点 All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.