上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 40 下一页
摘要: https://www.kernel.org/doc/html/v6.6/maintainer/rebasing-and-merging.html 重基和合并 一般来说,维护一个子系统需要熟悉 Git 源代码管理系统。Git 是一个功能强大的工具,具有许多特性;通常情况下,对于这类工具来说,使用这些 阅读全文
posted @ 2023-12-08 21:22 摩斯电码 阅读(18) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/maintainer/configure-git.html 配置 Git 本章描述了维护者级别的 Git 配置。 在拉取请求中使用的标记分支(请参阅创建拉取请求)应该由开发者的公共 GPG 密钥进行签名。可以通过向 git t 阅读全文
posted @ 2023-12-08 21:17 摩斯电码 阅读(8) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/maintainer/feature-and-driver-maintainers.html 术语“维护者”涵盖了从处理补丁和拉取请求几乎全职工作的人,到负责小特性或驱动程序的人的广泛范围。 与本章的大部分内容不同,本节适用于 阅读全文
posted @ 2023-12-08 21:16 摩斯电码 阅读(6) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/maintainer/index.html Kernel Maintainer Handbook 这份文档是为内核维护者编写的指南的谦逊开端。这里还有很多工作要做!请随时提出(并编写)对这份指南的补充。 功能和驱动程序维护者 阅读全文
posted @ 2023-12-08 21:08 摩斯电码 阅读(1) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/process/code-of-conduct.html Contributor Covenant 行为准则 我们的承诺 为了营造一个开放、友好的环境,我们作为贡献者和维护者承诺,无论年龄、体型、残疾、种族、性别特征、性别认同 阅读全文
posted @ 2023-12-08 21:06 摩斯电码 阅读(4) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/process/submitting-patches.html 对于希望向Linux内核提交更改的个人或公司来说,如果您不熟悉“系统”,这个过程有时可能会令人望而生畏。本文是一些建议的集合,可以极大地增加您的更改被接受的机会。 阅读全文
posted @ 2023-12-08 20:37 摩斯电码 阅读(54) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/process/8.Conclusion.html 以下是您提供的文本的中文翻译: 8. 获取更多信息 关于Linux内核开发及相关主题,有许多信息来源。其中最重要的始终是内核源代码分发中的Documentation目录。从顶 阅读全文
posted @ 2023-12-08 20:19 摩斯电码 阅读(1) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/process/7.AdvancedTopics.html 高级主题 到目前为止,希望你已经掌握了开发过程的工作方式。然而,还有更多需要学习的地方!本节将涵盖一些对于希望成为 Linux 内核开发过程中的常规部分的开发人员有帮 阅读全文
posted @ 2023-12-08 20:17 摩斯电码 阅读(9) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/process/6.Followthrough.html 6. 跟进 到目前为止,您已经遵循了迄今为止给出的指南,并且凭借自己的工程技能,发布了一系列完美的补丁。即使是经验丰富的内核开发人员也可能犯的最大错误之一是认为他们的工 阅读全文
posted @ 2023-12-08 20:15 摩斯电码 阅读(5) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/process/5.Posting.html 5. 提交补丁 迟早会有一个时刻,你的工作准备好被提交给社区审查,并最终被合并到主线内核中。毫不奇怪,内核开发社区已经形成了一套用于提交补丁的惯例和程序,遵循这些规定将使所有相关人 阅读全文
posted @ 2023-12-08 20:13 摩斯电码 阅读(11) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/process/4.Coding.html 4. 编写正确的代码 虽然坚实且以社区为导向的设计过程有很多值得说的地方,但任何内核开发项目的证明都在于最终的代码。其他开发人员将审查这些代码,并将其合并(或不合并)到主线树中。因此 阅读全文
posted @ 2023-12-08 20:09 摩斯电码 阅读(34) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/process/3.Early-stage.html 3. 早期规划 在考虑 Linux 内核开发项目时,很容易就跃跃欲试,开始编码。然而,与任何重要项目一样,成功的基础工作最好是在编写第一行代码之前完成的。在早期规划和沟通上 阅读全文
posted @ 2023-12-08 20:02 摩斯电码 阅读(4) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/process/2.Process.html Linux内核开发流程 Linux内核在20世纪90年代初期是一个相当松散的事务,涉及的用户和开发者数量相对较少。随着用户基数达到数百万,并有约2000名开发者在一年内参与开发,内 阅读全文
posted @ 2023-12-08 20:00 摩斯电码 阅读(56) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/process/1.Intro.html 简介 1.1. 执行摘要 本节的其余部分涵盖了内核开发过程的范围以及开发人员及其雇主可能遇到的各种挫折。有许多原因说明为什么内核代码应该合并到官方(“主线”)内核中,包括自动提供给用户 阅读全文
posted @ 2023-12-08 19:51 摩斯电码 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/v6.6/process/development-process.html Linux内核开发流程指南 目录: 介绍 1.1. 执行摘要 1.2. 本文内容 1.3. 鸣谢 1.4. 将代码纳入主线的重要性 1.5. 许可证 开发 阅读全文
posted @ 2023-12-08 19:48 摩斯电码 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/v6.6/accounting/psi.html#psi 日期 2018年4月 作者 Johannes Weiner hannes@cmpxchg.org 当CPU、内存或IO设备争用时,工作负载会出现延迟峰值、吞吐量损失,并面临 阅读全文
posted @ 2023-12-08 19:41 摩斯电码 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/admin-guide/kdump/kdump.html 这份文档包括概述、设置、安装和分析信息。 概述 Kdump 使用 kexec 快速引导到一个转储捕获内核,每当需要对系统内核的内存进行转储(例如系统发生崩溃) 阅读全文
posted @ 2023-12-07 23:31 摩斯电码 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/admin-guide/mm/shrinker_debugfs.html Shrinker Debugfs Interface 收缩器 debugfs 接口提供了对内核内存收缩子系统的可见性,并允许获取有关单个收缩器 阅读全文
posted @ 2023-12-07 23:19 摩斯电码 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/core-api/asm-annotations.html 汇编注释 版权所有(c)2017-2019 Jiri Slaby 本文档描述了汇编中用于注释数据和代码的新宏。特别是,它包含了关于SYM_FUNC_STAR 阅读全文
posted @ 2023-12-07 23:15 摩斯电码 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/mm/page_tables.html 分页虚拟内存是在1962年与虚拟内存概念一起在Ferranti Atlas计算机上发明的,这是第一台具有分页虚拟内存的计算机。随着时间的推移,这一特性迁移到了更新的计算机上,并 阅读全文
posted @ 2023-12-07 23:09 摩斯电码 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/core-api/symbol-namespaces.html 以下文件描述了如何使用符号命名空间来构造通过EXPORT_SYMBOL()宏系列导出的内核符号的导出表面。 1. 介绍 符号命名空间被引入作为结构化内核 阅读全文
posted @ 2023-12-07 23:00 摩斯电码 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/core-api/printk-formats.html#printk-specifiers 如何正确使用printk格式说明符 整数类型 如果变量是Type类型, 则使用printk格式说明符: signed ch 阅读全文
posted @ 2023-12-07 22:53 摩斯电码 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/core-api/printk-index.html Printk索引 有许多方法可以监视系统的状态。一个重要的信息来源是系统日志。它提供了大量信息,包括更或不那么重要的警告和错误消息。 有一些监控工具可以根据记录的 阅读全文
posted @ 2023-12-07 21:59 摩斯电码 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#namespace Namespace 命名空间 Basics 基础知识 cgroup namespace provides a mechanism to vir 阅读全文
posted @ 2023-12-07 21:20 摩斯电码 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#controllers Controllers CPU The "cpu" controllers regulates distribution of CPU c 阅读全文
posted @ 2023-12-07 20:27 摩斯电码 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 版本 Linux 6.5 背景 在学习cgroupv2的时候,想给子cgroup开启cpu控制器结果失败了: # 查看可以开启哪些控制器 root@ubuntu-vm:/sys/fs/cgroup# cat cgroup.controllers cpuset cpu io memory hugetl 阅读全文
posted @ 2023-12-06 23:45 摩斯电码 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html 另外两篇: Control Group v2 —— Controller(翻译 by chatgpt) Control Group v2 —— Namespace 阅读全文
posted @ 2023-12-06 19:52 摩斯电码 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 在创建进程或者线程的时候,会调用copy_process,可以看到如下逻辑: /* ok, now we should be set up.. */ p->pid = pid_nr(pid); if (clone_flags & CLONE_THREAD) { p->group_leader = c 阅读全文
posted @ 2023-12-06 16:37 摩斯电码 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 参考 https://www.kernel.org/doc/html/latest/admin-guide/clearing-warn-once.html 当WARN_ONCE或者WARN_ON_ONCE被第一次触发时,会输出调用栈,后面就不会了。可以使用下面的命令重置,这样再次触发时,还可以输出一 阅读全文
posted @ 2023-12-05 17:48 摩斯电码 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/mm/unevictable-lru.html Introduction This document describes the Linux memory manager's "Unevictable LRU" in 阅读全文
posted @ 2023-12-05 12:06 摩斯电码 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 原文: https://www.kernel.org/doc/html/latest/mm/physical_memory.html Linux is available for a wide range of architectures so there is a need for an arch 阅读全文
posted @ 2023-12-04 22:34 摩斯电码 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/filesystems/path-lookup.html 内核中文件系统相关的文档汇总:Filesystems in the Linux kernel This write-up is based on three 阅读全文
posted @ 2023-12-04 21:46 摩斯电码 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/mm/numa.html This question can be answered from a couple of perspectives: the hardware view and the Linux so 阅读全文
posted @ 2023-12-04 21:39 摩斯电码 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/admin-guide/mm/concepts.html The memory management in Linux is a complex system that evolved over the years 阅读全文
posted @ 2023-12-04 20:54 摩斯电码 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/core-api/workqueue.html Introduction There are many cases where an asynchronous process execution context is 阅读全文
posted @ 2023-12-04 16:57 摩斯电码 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 下面是trace扩展的项目地址: https://github.com/fujitsu/crash-trace 如果已经编译安装过crash,可以直接编译,然后使用extend工具加载. 加载模块 crash> extend /mnt/crash-trace/trace.so /mnt/crash- 阅读全文
posted @ 2023-12-03 22:06 摩斯电码 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/filesystems/vfs.html#overview-of-the-linux-virtual-file-system Introduction The Virtual File System (also kn 阅读全文
posted @ 2023-12-02 20:51 摩斯电码 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html What is the magic SysRq key? 什么是魔术SysRq键? It is a 'magical' key combo you can hit whi 阅读全文
posted @ 2023-12-01 21:21 摩斯电码 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html Objective 目标 Performance critical computing applications dealing with large me 阅读全文
posted @ 2023-12-01 19:29 摩斯电码 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.kernel.org/doc/html/latest/kernel-hacking/false-sharing.html What is False Sharing 什么是伪共享 False sharing is related with cache mechanism 阅读全文
posted @ 2023-12-01 11:01 摩斯电码 阅读(25) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 40 下一页