schedule: weight
weight 计算公式 Linux weight 和 nice 有一个对应关系, 具体的公式为: x为nice y为weight [\begin{align} NICE_0_weigth = 1024 , x \in [-20,19] f(x) = NICE_0_weight * \frac{1}{1.25^x} \end{align}] 在kernel 代码中静态保存这个关系的...
weight 计算公式 Linux weight 和 nice 有一个对应关系, 具体的公式为: x为nice y为weight [\begin{align} NICE_0_weigth = 1024 , x \in [-20,19] f(x) = NICE_0_weight * \frac{1}{1.25^x} \end{align}] 在kernel 代码中静态保存这个关系的...
Chapter 2 Resource Management Framework This chapter presents a general, flexible framework for specifying resource management policies in concurrent systems. Resource rights are encapsulated by a...
overflow RMM 是一个系统软件(固件)器和 RME (hardware extension) 一起构成实现了 ARM Confidential Compute Architecture(CCA) 用来提供受保护的可执行环境 Realms. Confidential Computing Armv8-A 通过建立了如下图的权限层次结构: 该层次结构的逻辑是,让高权限等级去管...
调度子系统的任务: 调度程序负责决定运行哪个程序,该程序运行多长时间。 调度系统的责任很明确, 需要在不富裕的CPU上,合理的运行所有程序。目前的cpu架构决定, 在一个core上, 同一时间只能有一个task运行, 所以调度子系统会决定当前cpu运行某个进 程,并且让其他进程等待, 在合适的时机,将cpu上的进程调出,运行下一个合适的进程, 依次循环。 所以调度系统是建立在多任务...
前言 学习Linux内核究竟是为了什么 ? 从事内核开发者的人员相对较少, 方便找一份稳定的工作 ? 兴趣使然,对操作系统感兴趣,想走读些内核源码 ? 用户态性能分析自顶向下的需要 ? 对于我个人来说,更倾向于1,2两点, 自己也从事Linux 内核,虚拟化一些年头了,但是 对知识的掌握毫无体系可言,自己也在纠结如何学习 Linux内核。之前的学习方法往往是从 BUG ...
1. Overview This guide describes: The role of confidential computing in modern compute platforms The principles of confidential computing. How the Arm Confidential Compute Architecture (Ar...
1. Overview This guide introduces the Realm Management Extension (RME), an extension to the architecture. RME is the hardware component of the Arm Confidential Compute Architecture (Arm CCA) which...
B2.3.4 RME Device Assignment The term Assignable Device Interface refers to a portion of a device that can be independently assigned to software executing in one of the Security states. An assigna...
ABSTRACT ARM recently introduced the Confidential Compute Architecture (CCA) as part of the upcoming ARMv9-A architecture. CCA enables the support of confidential virtual machines (cVMs) within a ...
overview 在intel sdm 4.1.2 Paging-Mode Enabling, 中提到: CR4.PAE and CR4.LA57 cannot be modified while either 4-level paging or 5-level paging is in use (when CR0.PG = 1 and IA32_EFEe.LME = 1 ). A...