摘要:
https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/rdma.html RDMA 控制器 1. 概述 1-1. 什么是 RDMA 控制器? RDMA 控制器允许用户限制给定一组进程可以使用的 RDMA/IB 特定资源。这些进程是使用 阅读全文
posted @ 2023-12-09 22:21
dolinux
阅读(108)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/pids.html 进程数量控制器 摘要 进程数量控制器用于允许 cgroup 层次结构在达到一定限制后阻止任何新任务进行 fork() 或 clone()。 由于很容易达到任务限制 阅读全文
posted @ 2023-12-09 22:20
dolinux
阅读(58)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/net_prio.html 网络优先级cgroup 网络优先级cgroup提供了一个接口,允许管理员动态设置由各种应用程序生成的网络流量的优先级。 通常情况下,应用程序会通过SO_P 阅读全文
posted @ 2023-12-09 22:19
dolinux
阅读(90)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/net_cls.html 网络分类器 cgroup 网络分类器 cgroup 提供了一个接口,用于给网络数据包打上一个类别标识符(classid)。 流量控制器(tc)可以用来为来自 阅读全文
posted @ 2023-12-09 22:17
dolinux
阅读(131)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/memcg_test.html Memory Resource Controller(Memcg) Implementation Memo 最后更新时间:2010/2 基础内核版本: 阅读全文
posted @ 2023-12-09 22:14
dolinux
阅读(105)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/hugetlb.html HugeTLB 控制器 HugeTLB 控制器可以通过首先挂载 cgroup 文件系统来创建。 # mount -t cgroup -o hugetlb n 阅读全文
posted @ 2023-12-09 21:55
dolinux
阅读(132)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/freezer-subsystem.html Cgroup Freezer cgroup冷冻器对于批处理作业管理系统非常有用,该系统可以启动和停止一组任务,以便根据系统管理员的需求安 阅读全文
posted @ 2023-12-09 21:53
dolinux
阅读(164)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/devices.html 设备白名单控制器 1. 描述 实现一个 cgroup 来跟踪和强制设备文件的打开和 mknod 限制。设备 cgroup 将设备访问白名单与每个 cgrou 阅读全文
posted @ 2023-12-09 21:52
dolinux
阅读(96)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/cpusets.html CPUSETS 1. Cpusets 1.1 什么是 cpusets? Cpusets 提供了一种机制,用于将一组 CPU 和内存节点分配给一组任务。在本文 阅读全文
posted @ 2023-12-09 21:49
dolinux
阅读(337)
评论(0)
推荐(0)
摘要:
原文:https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/cpuacct.html CPU核算控制器 CPU核算控制器用于使用cgroups对任务进行分组,并核算这些任务组的CPU使用情况。 CPU核算控制器支持多层级分组。一个核算组 阅读全文
posted @ 2023-12-09 21:38
dolinux
阅读(40)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/blkio-controller.html Block IO 控制器 概述 cgroup 子系统 "blkio" 实现了块 IO 控制器。在存储层次结构中,似乎需要各种类型的 IO 阅读全文
posted @ 2023-12-09 21:36
dolinux
阅读(392)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/admin-guide/cgroup-v1/cgroups.html 控制组 由Paul Menage menage@google.com编写,基于CPUSETS 来自CPUSETS的原始版权声明: 部分版权所有(C)2004 阅读全文
posted @ 2023-12-09 21:32
dolinux
阅读(118)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/RCU/checklist.html RCU补丁审查清单 本文档包含了一个用于生成和审查使用RCU的补丁的清单。违反以下列出的任何规则都会导致与省略锁原语相同类型的问题。这份清单基于审查这类补丁的经验,经历了相当长的一段时间, 阅读全文
posted @ 2023-12-09 21:00
dolinux
阅读(113)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/genericirq.html Linux通用中断处理 版权 © 2005-2010:Thomas Gleixner © 2005-2006:Ingo Molnar 简介 通用中断处理层旨在为设备驱动程序提供 阅读全文
posted @ 2023-12-09 20:45
dolinux
阅读(63)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/RCU/index.html RCU概念 RCU补丁的审查清单 RCU和lockdep检查 Lockdep-RCU Splat RCU和可卸载模块 卸载使用call_rcu()的模块 rcu_barrier() 实现rcu_b 阅读全文
posted @ 2023-12-09 20:40
dolinux
阅读(100)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/packing.html 通用位字段打包和解包函数 问题陈述 在处理硬件时,人们必须在几种接口方式之间进行选择。可以将指针内存映射到硬件设备的内存区域上,并将其字段作为结构体成员(可能声明为位字段)进行访问。 阅读全文
posted @ 2023-12-09 20:31
dolinux
阅读(29)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/rbtree.html 红黑树(rbtree)在Linux中 日期 2007年1月18日 作者 Rob Landley rob@landley.net 红黑树是什么,它们有什么作用? 红黑树是一种自平衡的二叉 阅读全文
posted @ 2023-12-09 20:27
dolinux
阅读(181)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/circular-buffers.html 循环缓冲区 作者: David Howells dhowells@redhat.com Paul E. McKenney paulmck@linux.ibm.com 阅读全文
posted @ 2023-12-09 20:22
dolinux
阅读(97)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/this_cpu_ops.html 作者 Christoph Lameter,2014年8月4日 作者 Pranith Kumar,2014年8月2日 this_cpu操作是一种优化访问与当前执行处理器相关的 阅读全文
posted @ 2023-12-09 20:18
dolinux
阅读(164)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/kref.html 为内核对象添加引用计数器(krefs) 作者 Corey Minyard minyard@acm.org 作者 Thomas Hellstrom thellstrom@vmware.com 阅读全文
posted @ 2023-12-09 20:08
dolinux
阅读(163)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/local_ops.html 这篇文档介绍了本地原子操作的语义和行为,以及如何在任何给定的架构中实现它们,并展示了它们如何被正确地使用。它还强调了在读取这些本地变量时必须采取的预防措施,特别是当内存写入的顺序 阅读全文
posted @ 2023-12-09 19:56
dolinux
阅读(48)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/refcount-vs-atomic.html refcount_t API 与 atomic_t 的比较 介绍 相关的内存排序类型 函数比较 非“读/修改/写”(RMW)操作 基于增量的操作,不返回值 基于 阅读全文
posted @ 2023-12-09 19:50
dolinux
阅读(228)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/wrappers/memory-barriers.html Linux内核内存屏障 免责声明 本文档不是一个规范;它故意(为了简洁)和无意(因为是人类)不完整。本文档旨在指导如何使用Linux提供的各种内存屏 阅读全文
posted @ 2023-12-09 19:47
dolinux
阅读(247)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/irq/index.html IRQs 什么是IRQ? SMP IRQ 亲和性 Linux内核中的irq_domain中断号映射库 IRQ 标志状态跟踪 什么是IRQ? IRQ(中断请求)是设备发出的中断请求 阅读全文
posted @ 2023-12-09 17:40
dolinux
阅读(125)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/cpu_hotplug.html CPU热插拔在内核中的支持 日期 2021年9月 作者 Sebastian Andrzej Siewior bigeasy@linutronix.de, Rusty Russ 阅读全文
posted @ 2023-12-09 17:34
dolinux
阅读(649)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/cachetlb.html Linux下的Cache和TLB刷新 作者:David S. Miller davem@redhat.com 本文描述了Linux VM子系统调用的缓存/TLB刷新接口。它枚举了每 阅读全文
posted @ 2023-12-09 17:08
dolinux
阅读(660)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/memory-hotplug.html 内存热插拔 内存热插拔事件通知 热插拔事件被发送到一个通知队列中。 在 include/linux/memory.h 中定义了六种通知类型: MEM_GOING_ONL 阅读全文
posted @ 2023-12-09 17:05
dolinux
阅读(273)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/pin_user_pages.html pin_user_pages()及相关调用 概述 本文档描述以下函数: pin_user_pages() pin_user_pages_fast() pin_user_ 阅读全文
posted @ 2023-12-09 17:02
dolinux
阅读(1006)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/gfp_mask-from-fs-io.html GFP masks used from FS/IO context 日期 2018年5月 作者 Michal Hocko mhocko@kernel.org 阅读全文
posted @ 2023-12-09 16:55
dolinux
阅读(155)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/boot-time-mm.html#c.memblock_flags "Boot time memory management"(引导时间内存管理) 早期系统初始化不能简单地使用“正常”的内存管理,因为它还没 阅读全文
posted @ 2023-12-09 16:52
dolinux
阅读(74)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/genalloc.html genalloc/genpool 子系统 内核中有许多内存分配子系统,每个子系统都针对特定的需求。然而,有时内核开发人员需要为特定范围的特定用途内存实现新的分配器;通常这些内存位于 阅读全文
posted @ 2023-12-09 16:51
dolinux
阅读(153)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/mm-api.html 阅读全文
posted @ 2023-12-09 16:49
dolinux
阅读(26)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/dma-isa-lpc.html DMA与ISA和LPC设备 作者 Pierre Ossman drzeus@drzeus.cx 本文档描述了如何使用旧的ISA DMA控制器进行DMA传输。尽管ISA在今天已 阅读全文
posted @ 2023-12-09 16:48
dolinux
阅读(261)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/dma-attributes.html DMA属性 本文档描述了在linux/dma-mapping.h中定义的DMA属性的语义。 DMA_ATTR_WEAK_ORDERING DMA_ATTR_WEAK_O 阅读全文
posted @ 2023-12-09 16:46
dolinux
阅读(526)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/dma-api-howto.html 动态DMA映射指南 作者 David S. Miller davem@redhat.com Richard Henderson rth@cygnus.com Jakub 阅读全文
posted @ 2023-12-09 16:44
dolinux
阅读(647)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/dma-api.html 动态DMA映射使用通用设备 作者 James E.J. Bottomley James.Bottomley@HansenPartnership.com 本文档描述了DMA API。要 阅读全文
posted @ 2023-12-09 16:37
dolinux
阅读(1218)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/unaligned-memory-access.html 不对齐的内存访问 作者 Daniel Drake dsd@gentoo.org Johannes Berg johannes@sipsolutions 阅读全文
posted @ 2023-12-09 16:06
dolinux
阅读(244)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/memory-allocation.html 内存分配指南 Linux提供了各种用于内存分配的API。您可以使用kmalloc或kmem_cache_alloc系列来分配小块内存,使用vmalloc及其衍生物 阅读全文
posted @ 2023-12-09 16:04
dolinux
阅读(256)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/mm/highmem.html 高内存处理 作者:Peter Zijlstra a.p.zijlstra@chello.nl 什么是高内存? 当物理内存的大小接近或超过虚拟内存的最大大小时,就会使用高内存(highmem)。在 阅读全文
posted @ 2023-12-09 16:01
dolinux
阅读(99)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/mm/index.html 内存管理指南 这是关于Linux内存管理子系统的指南。如果您只是想了解如何分配内存,请参阅内存分配指南。有关控制和调整指南,请参阅管理员指南。 物理内存 页表 进程地址 引导内存 页分配 虚拟连续内 阅读全文
posted @ 2023-12-09 15:58
dolinux
阅读(42)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/core-api/index.html#memory-management 核心API文档 这是核心内核API手册的开头部分。非常感谢您进行文档的转换和编写! 核心实用程序 本节包含一般和“核心核心”文档。首先是一大堆来自do 阅读全文
posted @ 2023-12-09 15:50
dolinux
阅读(46)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/doc-guide/kernel-doc.html 写入内核文档注释 Linux内核源文件中可能包含内核文档格式的结构化文档注释,用于描述代码的函数、类型和设计。将文档嵌入到源文件中可以更容易地保持文档的最新状态。 注意 内核 阅读全文
posted @ 2023-12-09 15:41
dolinux
阅读(72)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/kernel-hacking/locking.html Rusty's Remarkably Unreliable Guide to Kernel Locking 作者 Rusty Russell 简介 欢迎阅读 Rusty' 阅读全文
posted @ 2023-12-09 15:02
dolinux
阅读(84)
评论(0)
推荐(0)
摘要:
https://www.kernel.org/doc/html/v6.6/kernel-hacking/hacking.html Rusty Russell's "Unreliable Guide to Hacking the Linux Kernel" 作者 Rusty Russell 简介 欢迎 阅读全文
posted @ 2023-12-09 11:19
dolinux
阅读(133)
评论(0)
推荐(0)

浙公网安备 33010602011771号