摘要: 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 摩斯电码 阅读(32) 评论(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 摩斯电码 阅读(12) 评论(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 摩斯电码 阅读(18) 评论(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 摩斯电码 阅读(17) 评论(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 摩斯电码 阅读(13) 评论(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 摩斯电码 阅读(54) 评论(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 摩斯电码 阅读(46) 评论(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 摩斯电码 阅读(24) 评论(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 摩斯电码 阅读(75) 评论(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 摩斯电码 阅读(8) 评论(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 摩斯电码 阅读(101) 评论(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 摩斯电码 阅读(20) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/RCU/checklist.html RCU补丁审查清单 本文档包含了一个用于生成和审查使用RCU的补丁的清单。违反以下列出的任何规则都会导致与省略锁原语相同类型的问题。这份清单基于审查这类补丁的经验,经历了相当长的一段时间, 阅读全文
posted @ 2023-12-09 21:00 摩斯电码 阅读(18) 评论(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 摩斯电码 阅读(14) 评论(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 摩斯电码 阅读(29) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/html/v6.6/core-api/packing.html 通用位字段打包和解包函数 问题陈述 在处理硬件时,人们必须在几种接口方式之间进行选择。可以将指针内存映射到硬件设备的内存区域上,并将其字段作为结构体成员(可能声明为位字段)进行访问。 阅读全文
posted @ 2023-12-09 20:31 摩斯电码 阅读(5) 评论(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 摩斯电码 阅读(82) 评论(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 摩斯电码 阅读(37) 评论(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 摩斯电码 阅读(70) 评论(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 摩斯电码 阅读(37) 评论(0) 推荐(0) 编辑