电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

kernel内核锁完全解析

kernel内核锁完全解析_第1页
1/24
kernel内核锁完全解析_第2页
2/24
kernel内核锁完全解析_第3页
3/24
Kernel Locking 中文版Unreliable Guide To LockingRusty Russell 翻 译 : albcamus Copyright 2003 Rusty Russell©This documentation is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA For more details see the file COPYING in the source distribution of Linux. 第 1 章 . 介 绍欢 迎 进 入 Rusty 优 秀 的 《 Unreliable Guide to Kernel Locking》 细 节 。 本 文 档 描 述了 Linux 2.6内 核 的 锁 系 统 。随 着 Linux 内 核 引 入 了 超 线 程 与 抢 占 ,每 一 个 Hacking 内 核 的 人 都 应 该 了 解 并 发 性与 为 SMP 加 锁 的 基 础 知 识 。第 2 章 . 并 发 带 来 的 问 题(如 果 你 已 知 道 并 发 是 什 么 , 请 略 过 本 章 ). 在 一 个 普 通 的 程 序 里 , 你 可 以 这 样 为 一 个 计 数 器 增 加 计 数 : very_important_count++; 下 面 是 你 期 望 的 结 果 : Table 2-1. 期 望 的 结 果实 例 1实 例 2读 very_important_count (5) 加 1 (6) 写 回 very_important_count (6) 读 very_important_count (6) 加 1 (7) 写 回 very_important_count (7)事 情 还 可 能 这 样 发 生 : Table 2-2. 可 能 的 结 果实 例 1实 例 2读 very_important_count (5) 读 ...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

kernel内核锁完全解析

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部