data_type large_stringclasses 3
values | source large_stringclasses 29
values | code large_stringlengths 98 49.4M | filepath large_stringlengths 5 161 ⌀ | message large_stringclasses 234
values | commit large_stringclasses 234
values | subject large_stringclasses 418
values | critique large_stringlengths 101 1.26M ⌀ | metadata dict |
|---|---|---|---|---|---|---|---|---|
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/doc-guide/index.rst
:译者: 吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _doc_guide_zh:
================
如何编写内核文档
================
.. toctree::
:maxdepth: 1
sphinx
kernel-doc
parse-headers
contributing
maintainer-profile
checktransupdate
.... | Documentation/translations/zh_CN/doc-guide/index.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/doc-guide/kernel-doc.rst
:译者: 吴想成 Wu XiangCheng <bobwxc@email.cn>
编写kernel-doc注释
==================
Linux内核源文件可以包含kernel-doc格式的结构化文档注释,用以描述代码的函数、
类型和设计。将文档嵌入源文件更容易保持文档最新。
.. note:: 内核文档格式与javadoc、gtk-doc或Doxygen看似很相似,但由于历史原因,
实际有着明显的不同。内核源包含成千... | Documentation/translations/zh_CN/doc-guide/kernel-doc.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/doc-guide/maintainer-profile.rst
:译者: 吴想成 Wu XiangCheng <bobwxc@email.cn>
文档子系统维护人员条目概述
==========================
文档“子系统”是内核文档和相关基础设施的中心协调点。它涵盖了 Documentation/ 下
的文件层级(Documentation/devicetree 除外)、scripts/ 下的各种实用程序,并... | Documentation/translations/zh_CN/doc-guide/maintainer-profile.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/doc-guide/parse-headers.rst
:译者: 吴想成 Wu XiangCheng <bobwxc@email.cn>
=====================
包含用户空间API头文件
=====================
有时,为了描述用户空间API并在代码和文档之间生成交叉引用,需要包含头文件和示例
C代码。为用户空间API文件添加交叉引用还有一个好处:如果在文档中找不到相应符号,
Sphinx将生... | Documentation/translations/zh_CN/doc-guide/parse-headers.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/doc-guide/sphinx.rst
:译者: 吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _sphinxdoc_zh:
简介
====
Linux内核使用 `Sphinx <http://www.sphinx-doc.org/>`_ 来把 ``Documentation``
下的 `reStructuredText <http://docutils.sourceforge.net/rst.html>`_ 文件转
换成漂亮的文档。使用 ``make htmldoc... | Documentation/translations/zh_CN/doc-guide/sphinx.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/driver-api/index.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
========================
Linux驱动实现者的API指南
========================
内核提供了各种各样的接口来支持设备驱动的开发。这份文档只是对其中一些接口进行了
一定程度的整理——希望随着时间的推移,它能变得更好!可用的小节可以在下面看... | Documentation/translations/zh_CN/driver-api/index.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/driver-api/io_ordering.rst
:翻译:
林永听 Lin Yongting <linyongting@gmail.com>
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
===========================
对内存映射地址的I/O写入排序
===========================
在某些平台上,所谓的内存映射I/O是弱顺序。在这... | Documentation/translations/zh_CN/driver-api/io_ordering.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../../disclaimer-zh_CN.rst
:Original: Documentation/driver-api/gpio/index.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
=======================
通用型输入/输出(GPIO)
=======================
.. toctree::
:caption: 目录
:maxdepth: 2
Todolist:
* intro
* us... | Documentation/translations/zh_CN/driver-api/gpio/index.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
============
PHY 通用框架
============
.. toctree::
phy
Todolist:
* samsung-usb2
.. only:: subproject and html
Indices
=======
* :ref:`genindex` | Documentation/translations/zh_CN/driver-api/phy/index.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../../disclaimer-zh_CN.rst
:Original: Documentation/driver-api/phy/phy.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
=========
PHY子系统
=========
:作者: Kishon Vijay Abraham I <kishon@ti.com>
本文档解释了 PHY 的通用框架和提供的API,以及使用方法。
简介
====
*PHY* 是物理层的缩写,它被用来把设备连接到一个物理媒介,例... | Documentation/translations/zh_CN/driver-api/phy/phy.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/filesystems/debugfs.rst
=======
Debugfs
=======
译者
::
中文版维护者: 罗楚成 Chucheng Luo <luochucheng@vivo.com>
中文版翻译者: 罗楚成 Chucheng Luo <luochucheng@vivo.com>
中文版校译者: 罗楚成 Chucheng Luo <luochucheng@vivo.com>
版权所有2020 罗楚成... | Documentation/translations/zh_CN/filesystems/debugfs.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/filesystems/dnotify.rst
:翻译:
王龙杰 Wang Longjie <wang.longjie1@zte.com.cn>
==============
Linux 目录通知
==============
Stephen Rothwell <sfr@canb.auug.org.au>
目录通知的目的是使用户应用程序能够在目录或目录中的任何文件发生变更时收到通知。基本机制包括应用程序
通过 f... | Documentation/translations/zh_CN/filesystems/dnotify.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/filesystems/gfs2-glocks.rst
:翻译:
邵明寅 Shao Mingyin <shao.mingyin@zte.com.cn>
:校译:
杨涛 yang tao <yang.tao172@zte.com.cn>
==================
Glock 内部加锁规则
==================
本文档阐述 glock 状态机内部运作的基本原理。每个 glock(即
fs/gfs2... | Documentation/translations/zh_CN/filesystems/gfs2-glocks.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/filesystems/gfs2-uevents.rst
:翻译:
邵明寅 Shao Mingyin <shao.mingyin@zte.com.cn>
:校译:
杨涛 yang tao <yang.tao172@zte.com.cn>
===============
uevents 与 GFS2
===============
在 GFS2 文件系统的挂载生命周期内,会生成多个 uevent。
本文档解释了这些... | Documentation/translations/zh_CN/filesystems/gfs2-uevents.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/filesystems/gfs2.rst
:翻译:
邵明寅 Shao Mingyin <shao.mingyin@zte.com.cn>
:校译:
杨涛 yang tao <yang.tao172@zte.com.cn>
=====================================
全局文件系统 2 (Global File System 2)
============================... | Documentation/translations/zh_CN/filesystems/gfs2.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: :ref:`Documentation/filesystems/index.rst <filesystems_index>`
:Translator: Wang Wenhu <wenhu.wang@vivo.com>
.. _cn_filesystems_index:
========================
Linux Kernel中的文件系统
========================
这份正在开发的手册或许在未来某个辉煌的日子里以易懂的形... | Documentation/translations/zh_CN/filesystems/index.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/filesystems/inotify.rst
:翻译:
王龙杰 Wang Longjie <wang.longjie1@zte.com.cn>
==========================================
Inotify - 一个强大且简单的文件变更通知系统
==========================================
文档由 Robert Love <rml@nove... | Documentation/translations/zh_CN/filesystems/inotify.rst | null | null | null | null | null |
source | linux | Chinese translated version of Documentation/filesystems/sysfs.rst
If you have any comment or update to the content, please contact the
original document maintainer directly. However, if you have a problem
communicating in English you can also ask the Chinese maintainer for
help. Contact the Chinese maintainer if thi... | Documentation/translations/zh_CN/filesystems/sysfs.txt | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/filesystems/tmpfs.rst
translated by Wang Qing<wangqing@vivo.com>
=====
Tmpfs
=====
Tmpfs是一个将所有文件都保存在虚拟内存中的文件系统。
tmpfs中的所有内容都是临时的,也就是说没有任何文件会在硬盘上创建。
如果卸载tmpfs实例,所有保存在其中的文件都会丢失。
tmpfs将所有文件保存在内核缓存中,随着文件内容增长或缩小可以将不需要的
页... | Documentation/translations/zh_CN/filesystems/tmpfs.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/filesystems/ubifs-authentication.rst
:翻译:
邵明寅 Shao Mingyin <shao.mingyin@zte.com.cn>
:校译:
杨涛 yang tao <yang.tao172@zte.com.cn>
=============
UBIFS认证支持
=============
引言
====
UBIFS 利用 fscrypt 框架为文件内容及文件名提供保密性。这... | Documentation/translations/zh_CN/filesystems/ubifs-authentication.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/filesystems/ubifs.rst
:翻译:
邵明寅 Shao Mingyin <shao.mingyin@zte.com.cn>
:校译:
杨涛 yang tao <yang.tao172@zte.com.cn>
============
UBI 文件系统
============
简介
====
UBIFS 文件系统全称为 UBI 文件系统(UBI File System)。UBI 代表无序块镜
像... | Documentation/translations/zh_CN/filesystems/ubifs.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: :ref:`Documentation/filesystems/virtiofs.rst <virtiofs_index>`
译者
::
中文版维护者: 王文虎 Wang Wenhu <wenhu.wang@vivo.com>
中文版翻译者: 王文虎 Wang Wenhu <wenhu.wang@vivo.com>
中文版校译者: 王文虎 Wang Wenhu <wenhu.wang@vivo.com>
========================... | Documentation/translations/zh_CN/filesystems/virtiofs.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/iio/ep93xx_adc.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
.. _cn_iio_ep93xx_adc:
==================================
思睿逻辑 EP93xx 模拟数字转换器驱动
==================================
1. 概述
=======
该驱动同时适用于具有5通道模拟数字转换器的低端 (EP9301, Ep9302) 设备和10通道
触摸屏/模拟数字转... | Documentation/translations/zh_CN/iio/ep93xx_adc.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/iio/iio_configfs.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
.. _cn_iio_configfs:
=====================
工业 IIO configfs支持
=====================
1. 概述
=======
Configfs是一种内核对象的基于文件系统的管理系统,IIO使用一些可以通过
configfs轻松配置的对象(例如:设备,触发器)。
关于configfs是如何运行的,请查... | Documentation/translations/zh_CN/iio/iio_configfs.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/iio/index.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
.. _cn_iio_index:
========
工业 I/O
========
.. toctree::
:maxdepth: 1
iio_configfs
ep93xx_adc | Documentation/translations/zh_CN/iio/index.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/infiniband/core_locking.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
王普宇 Puyu Wang <realpuyuwang@gmail.com>
时奎亮 Alex Shi <alexs@kernel.org>
.. _cn_infiniband_core_locking:
==================
infiniband中间层锁
==================
本指南试图明确infin... | Documentation/translations/zh_CN/infiniband/core_locking.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/infiniband/index.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
王普宇 Puyu Wang <realpuyuwang@gmail.com>
时奎亮 Alex Shi <alexs@kernel.org>
.. _cn_infiniband_index:
==========
infiniband
==========
.. toctree:... | Documentation/translations/zh_CN/infiniband/index.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/infiniband/ipoib.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
王普宇 Puyu Wang <realpuyuwang@gmail.com>
时奎亮 Alex Shi <alexs@kernel.org>
.. _cn_infiniband_ipoib:
=========================
infiniband上的IP(IPoIB)
=========================
ib_ip... | Documentation/translations/zh_CN/infiniband/ipoib.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/infiniband/opa_vnic.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
王普宇 Puyu Wang <realpuyuwang@gmail.com>
时奎亮 Alex Shi <alexs@kernel.org>
.. _cn_infiniband_opa_vnic:
=============================================
英特尔全路径(OPA)虚拟网络接口控制器(VNIC)
===... | Documentation/translations/zh_CN/infiniband/opa_vnic.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/infiniband/sysfs.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
王普宇 Puyu Wang <realpuyuwang@gmail.com>
时奎亮 Alex Shi <alexs@kernel.org>
.. _cn_infiniband_sysfs:
=========
Sysfs文件
=========
sysfs接口已移至
Documentation/ABI/stable/sysfs-class-infin... | Documentation/translations/zh_CN/infiniband/sysfs.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/infiniband/tag_matching.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
王普宇 Puyu Wang <realpuyuwang@gmail.com>
时奎亮 Alex Shi <alexs@kernel.org>
.. _cn_infiniband_tag_matching:
============
标签匹配逻辑
============
MPI标准定义了一套规则,称为标签匹配,用于将源发送操作与目的接收匹... | Documentation/translations/zh_CN/infiniband/tag_matching.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/infiniband/user_mad.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
王普宇 Puyu Wang <realpuyuwang@gmail.com>
时奎亮 Alex Shi <alexs@kernel.org>
.. _cn_infiniband_user_mad:
===============
用户空间MAD访问
===============
设备文件
========
每个InfiniBand设备的每... | Documentation/translations/zh_CN/infiniband/user_mad.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/infiniband/user_verbs.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
王普宇 Puyu Wang <realpuyuwang@gmail.com>
时奎亮 Alex Shi <alexs@kernel.org>
.. _cn_infiniband_user_verbs:
=================
用户空间verbs访问
=================
ib_uverbs模块,通过启用CONFI... | Documentation/translations/zh_CN/infiniband/user_verbs.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/kbuild/gcc-plugins.rst
:Translator: 慕冬亮 Dongliang Mu <dzm91@hust.edu.cn>
================
GCC 插件基础设施
================
介绍
====
GCC 插件是为编译器提供额外功能的可加载模块 [1]_。它们对于运行时插装和静态分析非常有用。
我们可以在编译过程中通过回调 [2]_,GIMPLE [3]_,IPA [4]_ ... | Documentation/translations/zh_CN/kbuild/gcc-plugins.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/kbuild/headers_install.rst
:Translator: 慕冬亮 Dongliang Mu <dzm91@hust.edu.cn>
============================
导出内核头文件供用户空间使用
============================
"make headers_install" 命令以适合于用户空间程序的形式导出内核头文件。
Linux 内核导出的头文件描述了用户空... | Documentation/translations/zh_CN/kbuild/headers_install.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/kbuild/index.rst
:Translator: 慕冬亮 Dongliang Mu <dzm91@hust.edu.cn>
============
内核编译系统
============
.. toctree::
:maxdepth: 1
kconfig
headers_install
gcc-plugins
kbuild
reproducible-builds
... | Documentation/translations/zh_CN/kbuild/index.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/kbuild/kbuild.rst
:Translator: 慕冬亮 Dongliang Mu <dzm91@hust.edu.cn>
======
Kbuild
======
输出文件
========
modules.order
-------------
该文件记录模块在 Makefile 中出现的顺序。modprobe 使用该文件来确定性
解析匹配多个模块的别名。
modules.builtin
-----------... | Documentation/translations/zh_CN/kbuild/kbuild.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/kbuild/kconfig.rst
:Translator: 慕冬亮 Dongliang Mu <dzm91@hust.edu.cn>
================
配置目标和编辑器
================
本文件包含使用 ``make *config`` 的一些帮助。
使用 ``make help`` 列出所有可能的配置目标。
xconfig('qconf')、menuconfig('mconf')和 ncon... | Documentation/translations/zh_CN/kbuild/kconfig.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/kbuild/llvm.rst
:Translator: 慕冬亮 Dongliang Mu <dzm91@hust.edu.cn>
==========================
使用 Clang/LLVM 构建 Linux
==========================
本文档介绍如何使用 Clang 和 LLVM 工具构建 Linux 内核。
关于
----
Linux 内核传统上一直使用 GNU 工具链(如 G... | Documentation/translations/zh_CN/kbuild/llvm.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/kbuild/reproducible-builds.rst
:Translator: 慕冬亮 Dongliang Mu <dzm91@hust.edu.cn>
============
可重现的构建
============
通常希望使用相同工具集构建相同源代码是可重现的,即,输出始终完全相同。这使得能够验证
二进制分发或嵌入式系统的构建基础设施未被篡改。这样也更容易验证源代码或工具的更改不会
影响最终生成的二进制文件。
`可... | Documentation/translations/zh_CN/kbuild/reproducible-builds.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/kernel-hacking/hacking.rst
:译者:
吴想成 Wu XiangCheng <bobwxc@email.cn>
==============
内核骇客指北
==============
:作者: Rusty Russell
引言
=====
欢迎咱优雅的读者们来阅读Rusty的非常不靠谱的Linux内核骇客(Hacking)指南。本文
描述了内核代码的常见例程和一般要求:其目标是引导有经验的C程序员入门Linux内核
开发。我回避了实现细节:这是代码要做的,也忽略了很多有... | Documentation/translations/zh_CN/kernel-hacking/hacking.rst | null | null | null | null | null |
source | linux | .. _kernel_hacking_zh:
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/kernel-hacking/index.rst
:译者:
吴想成 Wu XiangCheng <bobwxc@email.cn>
=============
内核骇客指南
=============
.. toctree::
:maxdepth: 2
hacking
TODO
- locking | Documentation/translations/zh_CN/kernel-hacking/index.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/locking/index.rst
:翻译:
唐艺舟 Tang Yizhou <tangyeechou@gmail.com>
==
锁
==
.. toctree::
:maxdepth: 1
mutex-design
spinlocks
TODOList:
* locktypes
* lockdep-design
* lockstat
* locktorture
... | Documentation/translations/zh_CN/locking/index.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/locking/mutex-design.rst
:翻译:
唐艺舟 Tang Yizhou <tangyeechou@gmail.com>
================
通用互斥锁子系统
================
:初稿:
Ingo Molnar <mingo@redhat.com>
:更新:
Davidlohr Bueso <davidlohr@hp.com>
什么是互斥锁?
----------... | Documentation/translations/zh_CN/locking/mutex-design.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/locking/spinlocks.rst
:翻译:
唐艺舟 Tang Yizhou <tangyeechou@gmail.com>
==========
加锁的教训
==========
教训 1:自旋锁
==============
加锁最基本的原语是自旋锁(spinlock)::
static DEFINE_SPINLOCK(xxx_lock);
unsigned long flags;
spin_loc... | Documentation/translations/zh_CN/locking/spinlocks.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/maintainer/configure-git.rst
:译者:
吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _configuregit_zh:
Git配置
=======
本章讲述了维护者级别的git配置。
Documentation/maintainer/pull-requests.rst 中使用的标记分支应使用开发人员的
GPG公钥进行签名。可以通过将 ``-u`` 标志传递给 ``git tag`` 来创建签名标记。
但是,由于 *通常* 对同一项目使... | Documentation/translations/zh_CN/maintainer/configure-git.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/maintainer/index.rst
==============
内核维护者手册
==============
本文档本是内核维护者手册的首页。
本手册还需要大量完善!请自由提出(和编写)本手册的补充内容。
*译注:指英文原版*
.. toctree::
:maxdepth: 2
configure-git
rebasing-and-merging
pull-requests
maintainer-entry-profile
modifying-patches | Documentation/translations/zh_CN/maintainer/index.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/maintainer/maintainer-entry-profile.rst
:译者:
吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _maintainerentryprofile_zh:
维护者条目概要
==============
维护人员条目概要补充了顶层过程文档(提交补丁,提交驱动程序……),增加了子系
统/设备驱动程序本地习惯以及有关补丁提交生命周期的相关内容。贡献者使用此文档
来调整他们的期望和避免常见错误;维护人员可以使用这些信息超越子系统层面查看
... | Documentation/translations/zh_CN/maintainer/maintainer-entry-profile.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/maintainer/modifying-patches.rst
:译者:
吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _modifyingpatches_zh:
修改补丁
========
如果你是子系统或者分支的维护者,由于代码在你的和提交者的树中并不完全相同,
有时你需要稍微修改一下收到的补丁以合并它们。
如果你严格遵守开发者来源证书的规则(c),你应该要求提交者重做,但这完全是会
适得其反的时间、精力浪费。规则(b)允许你调整代码,但这样修改提交者的代码... | Documentation/translations/zh_CN/maintainer/modifying-patches.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/maintainer/pull-requests.rst
:译者:
吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _pullrequests_zh:
如何创建拉取请求
================
本章描述维护人员如何创建并向其他维护人员提交拉取请求。这对将更改从一个维护者
树转移到另一个维护者树非常有用。
本文档由Tobin C. Harding(当时他尚不是一名经验丰富的维护人员)编写,内容主要
来自Greg Kroah Hartman和Linus Tor... | Documentation/translations/zh_CN/maintainer/pull-requests.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/maintainer/rebasing-and-merging.rst
:译者:
吴想成 Wu XiangCheng <bobwxc@email.cn>
==========
变基与合并
==========
一般来说,维护子系统需要熟悉Git源代码管理系统。Git是一个功能强大的工具,有
很多功能;就像这类工具常出现的情况一样,使用这些功能的方法有对有错。本文档
特别介绍了变基与合并的用法。维护者经常在错误使用这些工具时遇到... | Documentation/translations/zh_CN/maintainer/rebasing-and-merging.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/active_mm.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
=========
Active MM
=========
注意,在配置了 CONFIG_MMU_LAZY_TLB_REFCOUNT=n 的内核中,mm_count 引用计数
可能不再包括“懒惰”用户(运行任务中 ->active_mm == mm && ->mm == NULL)。
获取和释放这些懒惰引用必须使用 mmgrab_lazy_tlb() 和 mmdro... | Documentation/translations/zh_CN/mm/active_mm.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/balance.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
========
内存平衡
========
2000年1月开始,作者:Kanoj Sarcar <kanoj@sgi.com>
对于 !__GFP_HIGH 和 !__GFP_KSWAPD_RECLAIM 以及非 __GFP_IO 的分配,需要进行
内存平衡。
调用者避免回收的第一个原因是调用者由于持有自旋锁或处于中断环境中而无法睡眠。第二个
原因可能是,调用者愿... | Documentation/translations/zh_CN/mm/balance.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/free_page_reporting.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
==========
空闲页报告
==========
空闲页报告是一个API,设备可以通过它来注册接收系统当前未使用的页面列表。这在虚拟
化的情况下是很有用的,客户机能够使用这些数据来通知管理器它不再使用内存中的某些页
面。
对于驱动,通常是气球驱动要使用这个功能,它将分配和初始化一个page_reporting_dev_info
结构体。它要... | Documentation/translations/zh_CN/mm/free_page_reporting.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/highmem.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
==========
高内存处理
==========
作者: Peter Zijlstra <a.p.zijlstra@chello.nl>
.. contents:: :local:
高内存是什么?
==============
当物理内存的大小接近或超过虚拟内存的最大大小时,就会使用高内存(highmem)。在这一点上,内
核不可能在任何时候都保持所有可用的物... | Documentation/translations/zh_CN/mm/highmem.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/hmm.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
==================
异构内存管理 (HMM)
==================
提供基础设施和帮助程序以将非常规内存(设备内存,如板上 GPU 内存)集成到常规内核路径中,其
基石是此类内存的专用struct page(请参阅本文档的第 5 至 7 节)。
HMM 还为 SVM(共享虚拟内存)提供了可选的帮助程序,即允许设备透明地访问与 CPU 一致的程序... | Documentation/translations/zh_CN/mm/hmm.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/hugetlbfs_reserv.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
==============
Hugetlbfs 预留
==============
概述
====
Documentation/admin-guide/mm/hugetlbpage.rst
中描述的巨页通常是预先分配给应用程序使用的 。如果VMA指
示要使用巨页,这些巨页会在缺页异常时被实例化到任务的地址空间。如果在缺页异常
时没有巨页存在,任务就会... | Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst | null | null | null | null | null |
source | linux | :Original: Documentation/mm/hwpoison.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
========
hwpoison
========
什么是hwpoison?
===============
即将推出的英特尔CPU支持从一些内存错误中恢复( ``MCA恢复`` )。这需要操作系统宣布
一个页面"poisoned",杀死与之相关的进程,并避免在未来使用它。
这个补丁包在虚拟机中实现了必要的(编程)框架。
引用概述中的评论::
高级机器的检查与处理。处理方法是损坏的页面被硬件报告,通常是由于2位ECC内
存或高... | Documentation/translations/zh_CN/mm/hwpoison.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/index.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
=================
Linux内存管理文档
=================
这是一份关于了解Linux的内存管理子系统的指南。如果你正在寻找关于简单分配内存的
建议,请参阅内存分配指南
(Documentation/translations/zh_CN/core-api/memory-allocation.rst)。
关于控制和调整的指南,请看管理指南
(... | Documentation/translations/zh_CN/mm/index.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/ksm.rst
:翻译:
徐鑫 xu xin <xu.xin16@zte.com.cn>
============
内核同页合并
============
KSM 是一种节省内存的数据去重功能,由CONFIG_KSM=y启用,并在2.6.32版本时被添加
到Linux内核。详见 ``mm/ksm.c`` 的实现,以及http://lwn.net/Articles/306704和
https://lwn.net/Articles/330589
KSM的用户空间的接口在Documentati... | Documentation/translations/zh_CN/mm/ksm.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
:Original: Documentation/mm/memory-model.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
============
物理内存模型
============
系统中的物理内存可以用不同的方式进行寻址。最简单的情况是,物理内存从地址0开
始,跨越一个连续的范围,直到最大的地址。然而,这个范围可能包含CPU无法访问的
小孔隙。那么,在完全不同的地址可能有几个连续的范围。而且,别忘了NUMA,即不
同的内存库连接到不同的CPU。
Linux使用两种内存模型... | Documentation/translations/zh_CN/mm/memory-model.rst | null | null | null | null | null |
source | linux | :Original: Documentation/mm/mmu_notifier.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
什么时候需要页表锁内通知?
==========================
当清除一个pte/pmd时,我们可以选择通过在页表锁下(通知版的\*_clear_flush调用
mmu_notifier_invalidate_range)通知事件。但这种通知并不是在所有情况下都需要的。
对于二级TLB(非CPU TLB),如IOMMU TLB或设备TLB(当设备使用类似ATS/PASID的东西让
IOMMU走CPU页表来访问进程... | Documentation/translations/zh_CN/mm/mmu_notifier.rst | null | null | null | null | null |
source | linux | :Original: Documentation/mm/numa.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
始于1999年11月,作者: <kanoj@sgi.com>
==========================
何为非统一内存访问(NUMA)?
==========================
这个问题可以从几个视角来回答:硬件观点和Linux软件视角。
从硬件角度看,NUMA系统是一个由多个组件或装配组成的计算机平台,每个组件可能包含0个或更多的CPU、
本地内存和/或IO总线。为了简洁起见,并将这些物理组件/装配的硬件视角与软件抽象... | Documentation/translations/zh_CN/mm/numa.rst | null | null | null | null | null |
source | linux | :Original: Documentation/mm/overcommit-accounting.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
==============
超量使用审计
==============
Linux内核支持下列超量使用处理模式
0
启发式超量使用处理。拒绝明显的地址空间超量使用。用于一个典型的系统。
它确保严重的疯狂分配失败,同时允许超量使用以减少swap的使用。这是默认的。
1
总是超量使用。适用于一些科学应用。经典的例子是使用稀疏数组的代码,只是依赖
几乎完全由零页组成的虚拟内存
2
不超量使用。系统提交的总... | Documentation/translations/zh_CN/mm/overcommit-accounting.rst | null | null | null | null | null |
source | linux | :Original: Documentation/mm/page_frags.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
========
页面片段
========
一个页面片段是一个任意长度的任意偏移的内存区域,它位于一个0或更高阶的复合页面中。
该页中的多个碎片在该页的引用计数器中被单独计算。
page_frag函数,page_frag_alloc和page_frag_free,为页面片段提供了一个简单
的分配框架。这被网络堆栈和网络设备驱动使用,以提供一个内存的支持区域,作为
sk_buff->head使用,或者用于skb_shared_info的... | Documentation/translations/zh_CN/mm/page_frags.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/page_migration.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
========
页面迁移
========
页面迁移允许在进程运行时在NUMA系统的节点之间移动页面的物理位置。这意味着进程所看到的虚拟地
址并没有改变。然而,系统会重新安排这些页面的物理位置。
也可以参见 :ref: `<异构内存管理 (HMM)>` 以了解将页面迁移到设备私有内存或从设备私有内存中迁移。
页面迁移的主要目的是通过将页面移到访问该内存... | Documentation/translations/zh_CN/mm/page_migration.rst | null | null | null | null | null |
source | linux | :Original: Documentation/mm/page_owner.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
================================
page owner: 跟踪谁分配的每个页面
================================
概述
====
page owner是用来追踪谁分配的每一个页面。它可以用来调试内存泄漏或找到内存占用者。
当分配发生时,有关分配的信息,如调用堆栈和页面的顺序被存储到每个页面的特定存储中。
当我们需要了解所有页面的状态时,我们可以获得并分析这些信息。
尽管我... | Documentation/translations/zh_CN/mm/page_owner.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
:Original: Documentation/mm/page_table_check.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
========
页表检查
========
概述
====
页表检查允许通过确保防止某些类型的内存损坏来强化内核。
当新的页面可以从用户空间访问时,页表检查通过将它们的页表项(PTEs PMD等)添加到页表中来执行额外
的验证。
在检测到损坏的情况下,内核会被崩溃。页表检查有一个小的性能和内存开销。因此,它在默认情况下是禁用
的,但是在额外的加固... | Documentation/translations/zh_CN/mm/page_table_check.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/page_tables.rst
:翻译:
张鹏宇 Pengyu Zhang <zpenya1314@gmail.com>
:校译:
====
页表
====
分页虚拟内存是随虚拟内存的概念一起于 1962 年在 Ferranti Atlas 计算机上被提出的,
这是第一台有分页虚拟内存的计算机。随着时间推移,这个特性被迁移到更新的计算机上,
并且成为所有类 Unix 系统实际的特性。在 1985 年,这个特性被包含在了英... | Documentation/translations/zh_CN/mm/page_tables.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/physical_memory.rst
:翻译:
王亚鑫 Yaxin Wang <wang.yaxin@zte.com.cn>
========
物理内存
========
Linux可用于多种架构,因此需要一个与架构无关的抽象来表示物理内存。本章描述
了管理运行系统中物理内存的结构。
第一个与内存管理相关的主要概念是 `非一致性内存访问(NUMA)
<https://en.wikipedia.org/wiki/N... | Documentation/translations/zh_CN/mm/physical_memory.rst | null | null | null | null | null |
source | linux | :Original: Documentation/mm/remap_file_pages.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
==============================
remap_file_pages()系统调用
==============================
remap_file_pages()系统调用被用来创建一个非线性映射,也就是说,在这个映射中,
文件的页面被无序映射到内存中。使用remap_file_pages()比重复调用mmap(2)的好
处是,前者不需要内核创建额外的VMA(虚拟内存区)数据结构。
... | Documentation/translations/zh_CN/mm/remap_file_pages.rst | null | null | null | null | null |
source | linux | :Original: Documentation/mm/split_page_table_lock.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
=================================
分页表锁(split page table lock)
=================================
最初,mm->page_table_lock spinlock保护了mm_struct的所有页表。但是这种方
法导致了多线程应用程序的缺页异常可扩展性差,因为对锁的争夺很激烈。为了提高可扩
展性,我们引入了分页表锁。
有了分页... | Documentation/translations/zh_CN/mm/split_page_table_lock.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/mm/vmalloced-kernel-stacks.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
====================
支持虚拟映射的内核栈
====================
:作者: Shuah Khan <skhan@linuxfoundation.org>
.. contents:: :local:
概览
----
这是介绍 ... | Documentation/translations/zh_CN/mm/vmalloced-kernel-stacks.rst | null | null | null | null | null |
source | linux | :Original: Documentation/mm/zsmalloc.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
========
zsmalloc
========
这个分配器是为与zram一起使用而设计的。因此,该分配器应该在低内存条件下工作良好。特别是,
它从未尝试过higher order页面的分配,这在内存压力下很可能会失败。另一方面,如果我们只
是使用单(0-order)页,它将遭受非常高的碎片化 - 任何大小为PAGE_SIZE/2或更大的对象将
占据整个页面。这是其前身(xvmalloc)的主要问题之一。
为了克服这些问题,zsmallo... | Documentation/translations/zh_CN/mm/zsmalloc.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
:Original: Documentation/mm/damon/api.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
=======
API参考
=======
内核空间的程序可以使用下面的API来使用DAMON的每个功能。你所需要做的就是引用 ``damon.h`` ,
它位于源代码树的include/linux/。
结构体
======
该API在以下内核代码中:
include/linux/damon.h
函数
====
该API在以下内核代码中:
mm/damo... | Documentation/translations/zh_CN/mm/damon/api.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
:Original: Documentation/mm/damon/design.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
====
设计
====
可配置的层
==========
DAMON提供了数据访问监控功能,同时使其准确性和开销可控。基本的访问监控需要依赖于目标地址空间
并为之优化的基元。另一方面,作为DAMON的核心,准确性和开销的权衡机制是在纯逻辑空间中。DAMON
将这两部分分离在不同的层中,并定义了它的接口,以允许各种低层次的基元实现与核心逻辑的配置。
由于这种... | Documentation/translations/zh_CN/mm/damon/design.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
:Original: Documentation/mm/damon/faq.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
========
常见问题
========
DAMON是否只支持虚拟内存?
=========================
不,DAMON的核心是独立于地址空间的。用户可以在DAMON核心上实现和配置特定地址空间的低级原始
部分,包括监测目标区域的构造和实际的访问检查。通过这种方式,DAMON用户可以用任何访问检查技
术来监测任何地址空间。
尽管如此,DAM... | Documentation/translations/zh_CN/mm/damon/faq.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
:Original: Documentation/mm/damon/index.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
==========================
DAMON:数据访问监视器
==========================
DAMON是Linux内核的一个数据访问监控框架子系统。DAMON的核心机制使其成为
(该核心机制详见(Documentation/translations/zh_CN/mm/damon/design.rst))
- *准确度... | Documentation/translations/zh_CN/mm/damon/index.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/networking/alias.rst
:翻译:
邱禹潭 Qiu Yutan <qiu.yutan@zte.com.cn>
:校译:
======
IP别名
======
IP别名是管理每个接口存在多个IP地址/子网掩码的一种过时方法。
虽然更新的工具如iproute2支持每个接口多个地址/前缀,
但为了向后兼容性,别名仍被支持。
别名通过在使用 ifconfig 时在接口名后添加冒号和一个字符串来创建。
这个字符串通常... | Documentation/translations/zh_CN/networking/alias.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/networking/generic-hdlc.rst
:翻译:
孙渔喜 Sun yuxi <sun.yuxi@zte.com.cn>
==========
通用HDLC层
==========
Krzysztof Halasa <khc@pm.waw.pl>
通用HDLC层当前支持以下协议:
1. 帧中继(支持ANSI、CCITT、Cisco及无LMI模式)
- 常规(路由)接口和以太网桥接(以太网设备仿真... | Documentation/translations/zh_CN/networking/generic-hdlc.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/networking/index.rst
:翻译:
王亚鑫 Wang Yaxin <wang.yaxin@zte.com.cn>
:校译:
网络
====
有关网络设备(netdev)开发过程的详细指南,请参考::ref:`netdev-FAQ`
目录:
.. toctree::
:maxdepth: 1
msg_zerocopy
napi
vxlan
netif-msg
xfrm_... | Documentation/translations/zh_CN/networking/index.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/networking/mptcp-sysctl.rst
:翻译:
孙渔喜 Sun yuxi <sun.yuxi@zte.com.cn>
================
MPTCP Sysfs 变量
================
/proc/sys/net/mptcp/* Variables
===============================
add_addr_timeout - INTEGER (秒)
... | Documentation/translations/zh_CN/networking/mptcp-sysctl.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/networking/msg_zerocopy.rst
:翻译:
王亚鑫 Wang Yaxin <wang.yaxin@zte.com.cn>
:校译:
- 徐鑫 xu xin <xu.xin16@zte.com.cn>
- 何配林 He Peilin <he.peilin@zte.com.cn>
============
MSG_ZEROCOPY
============
简介
====
MSG_ZER... | Documentation/translations/zh_CN/networking/msg_zerocopy.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/networking/napi.rst
:翻译:
王亚鑫 Yaxin Wang <wang.yaxin@zte.com.cn>
====
NAPI
====
NAPI 是 Linux 网络堆栈中使用的事件处理机制。NAPI 的名称现在不再代表任何特定含义 [#]_。
在基本操作中,设备通过中断通知主机有新事件发生。主机随后调度 NAPI 实例来处理这些事件。
该设备也可以通过 ... | Documentation/translations/zh_CN/networking/napi.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/networking/netif-msg.rst
:翻译:
王亚鑫 Wang Yaxin <wang.yaxin@zte.com.cn>
================
网络接口消息级别
================
网络接口消息级别设置的设计方案。
历史背景
--------
调试消息接口的设计遵循并受制于向后兼容性及历史实践。理解其发展历史有助于把握
当前实践,并将其与旧版驱动代码相关联。
自Linux诞生... | Documentation/translations/zh_CN/networking/netif-msg.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/networking/netmem.rst
:翻译:
王亚鑫 Wang Yaxin <wang.yaxin@zte.com.cn>
==================
网络驱动支持Netmem
==================
本文档概述了网络驱动支持netmem(一种抽象内存类型)的要求,该内存类型
支持设备内存 TCP 等功能。通过支持netmem,驱动可以灵活适配不同底层内
存类型(如设备内存TCP),且无需或... | Documentation/translations/zh_CN/networking/netmem.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/networking/timestamping.rst
:翻译:
王亚鑫 Wang Yaxin <wang.yaxin@zte.com.cn>
======
时间戳
======
1. 控制接口
===========
接收网络数据包时间戳的接口包括:
SO_TIMESTAMP
为每个传入数据包生成(不一定是单调的)系统时间时间戳。通过 recvmsg()
在控制消息中以微秒分辨率报告时间戳。
SO_TI... | Documentation/translations/zh_CN/networking/timestamping.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/networking/vxlan.rst
:翻译:
范雨 Fan Yu <fan.yu9@zte.com.cn>
:校译:
- 邱禹潭 Qiu Yutan <qiu.yutan@zte.com.cn>
- 徐鑫 xu xin <xu.xin16@zte.com.cn>
==========================
虚拟扩展本地局域网协议文档
==============... | Documentation/translations/zh_CN/networking/vxlan.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/networking/xfrm_proc.rst
:翻译:
王亚鑫 Wang Yaxin <wang.yaxin@zte.com.cn>
=================================
XFRM proc - /proc/net/xfrm_* 文件
=================================
作者:Masahide NAKAMURA <nakam@linux-ipv6.org>
... | Documentation/translations/zh_CN/networking/xfrm_proc.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0-only
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/peci/index.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
=================
Linux PECI 子系统
=================
.. toctree::
peci
.. only:: subproject and html
Indices
=======
* :ref:`genin... | Documentation/translations/zh_CN/peci/index.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0-only
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/peci/peci.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
====
概述
====
平台环境控制接口(PECI)是英特尔处理器和管理控制器(如底板管理控制器,BMC)
之间的一个通信接口。PECI提供的服务允许管理控制器通过访问各种寄存器来配置、监
控和调试平台。它定义了一个专门的命令协议,管理控制器作为PECI的发起者,处理器
作为PECI的响应者... | Documentation/translations/zh_CN/peci/peci.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/power/energy-model.rst
:翻译:
唐艺舟 Tang Yizhou <tangyeechou@gmail.com>
============
设备能量模型
============
1. 概述
-------
能量模型(EM)框架是一种驱动程序与内核子系统之间的接口。其中驱动程序了解不同
性能层级的设备所消耗的功率,而内核子系统愿意使用该信息做出能量感知决策。
设备所消耗的功率的信息来源在不同的平台上可... | Documentation/translations/zh_CN/power/energy-model.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/power/index.rst
:翻译:
唐艺舟 Tang Yizhou <tangyeechou@gmail.com>
========
电源管理
========
.. toctree::
:maxdepth: 1
energy-model
opp
TODOList:
* apm-acpi
* basic-pm-debugging
* charger-manager
... | Documentation/translations/zh_CN/power/index.rst | null | null | null | null | null |
source | linux | .. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/power/opp.rst
:翻译:
唐艺舟 Tang Yizhou <tangyeechou@gmail.com>
======================
操作性能值(OPP)库
======================
(C) 2009-2010 Nishanth Menon <nm@ti.com>, 德州仪器公司
.. 目录
1. 简介
2. OPP链表初始注册
3. OPP搜索函数
4. ... | Documentation/translations/zh_CN/power/opp.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: :ref:`Documentation/process/1.Intro.rst <development_process_intro>`
:Translator:
时奎亮 Alex Shi <alex.shi@linux.alibaba.com>
:校译:
吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _cn_development_process_intro:
引言
====
内容提要
--------
本节的其余部分涵盖了内核开发的过程,以及开发人员及其雇主在这方面可能遇到的
各种... | Documentation/translations/zh_CN/process/1.Intro.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: :ref:`Documentation/process/2.Process.rst <development_process>`
:Translator:
时奎亮 Alex Shi <alex.shi@linux.alibaba.com>
:校译:
吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _cn_development_process:
开发流程如何进行
================
90年代早期的Linux内核开发是一件相当松散的事情,涉及的用户和开发人员相对较少。
由于拥有... | Documentation/translations/zh_CN/process/2.Process.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: :ref:`Documentation/process/3.Early-stage.rst <development_early_stage>`
:Translator:
时奎亮 Alex Shi <alex.shi@linux.alibaba.com>
:校译:
吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _cn_development_early_stage:
早期规划
========
当考虑一个Linux内核开发项目时,很可能会直接跳进去开始编码。然而,与任何重要
的项目一样,... | Documentation/translations/zh_CN/process/3.Early-stage.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: :ref:`Documentation/process/4.Coding.rst <development_coding>`
:Translator:
时奎亮 Alex Shi <alex.shi@linux.alibaba.com>
:校译:
吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _cn_development_coding:
使代码正确
======================
虽然一个坚实的、面向社区的设计过程有很多值得说道的,但是任何内核开发项目工作
的证明都反映在代... | Documentation/translations/zh_CN/process/4.Coding.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: :ref:`Documentation/process/5.Posting.rst <development_posting>`
:Translator:
时奎亮 Alex Shi <alex.shi@linux.alibaba.com>
:校译:
吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _cn_development_posting:
发布补丁
========
您的工作迟早会准备好提交给社区进行审查,并最终包含到主线内核中。毫不稀奇,
内核开发社区已经发展出一套用于发布补丁的约... | Documentation/translations/zh_CN/process/5.Posting.rst | null | null | null | null | null |
source | linux | .. include:: ../disclaimer-zh_CN.rst
:Original: :ref:`Documentation/process/6.Followthrough.rst <development_followthrough>`
:Translator:
时奎亮 Alex Shi <alex.shi@linux.alibaba.com>
:校译:
吴想成 Wu XiangCheng <bobwxc@email.cn>
.. _cn_development_followthrough:
跟进
====
此时,您已经遵循了到目前为止给出的指导方针,并且,随着您自己的工程技能的增加,
已经发布了一系... | Documentation/translations/zh_CN/process/6.Followthrough.rst | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.