Million Chinese character annotation > > intensive reading kernel source code, Chinese annotation analysis, deep foundation engineering, permanent brain memory, and four code warehouses are updated synchronously every day< gitee | github | csdn | coding >
One hundred blog Analysis > > story telling kernel, question and answer ...
Posted by dragin33 on Wed, 09 Mar 2022 11:09:34 +0100
After the experiment of lab1 is completed, start lab2, which mainly realizes memory allocation
Purpose of the experiment:
Understand the translation mechanism based on segment page memory addressUnderstand the establishment and use of page tableUnderstand how to manage physical memory
In lab1, we use segment management, and the addresses inv ...
Posted by discobean on Mon, 07 Mar 2022 11:06:56 +0100
Implementation of process scheduling algorithm Summary: The process scheduling algorithm is realized, including FCFS (first in first out), SPF (short process priority), HRRF (highest response ratio priority method) and HPF (priority method). A process management simulation system that allows n processes to run concurrently is designed. The syst ...
Posted by kennethl on Mon, 07 Mar 2022 05:54:46 +0100
Programming environment: Ubuntu Kylin 16.04
Code warehouse: https://gitee.com/AprilSloan/linux0.11-project
linux0.11 source code download (it cannot be compiled directly and needs to be modified)
1. Add kernel
After entering the kernel, it does not immediately enter the main function. In the previous chapter, gdt is only set temporarily. In ...
Posted by mitchell on Thu, 03 Mar 2022 19:02:58 +0100
This article is taken from WeChat official account GitPython: Ten common Python automation operations . In case of infringement, the contact must be deleted.
1. OS module
Import: import os
1. Traverse the folder
The premise of batch operation is to traverse the folder, OS Walk traverses the folder and generates three parameters:
I've been reviewing the operating system recently, and I have the following knowledge points:
1) Process scheduling algorithm: it adopts os scheduling algorithm (i.e. assigning the processor to the process with the highest priority) and first come first serve algorithm. 2) Each process is represented by a process control block (PCB). The proce ...
Posted by unmash on Thu, 03 Mar 2022 06:42:47 +0100
1, Basic command
1.1. Startup and login
Boot will start many programs. They are called "service s" in Windows and "daemon s" in Linux. After successful startup, the text login interface will be displayed, which will not be displayed when entering the password. Generally speaking, there are three ways for users to log i ...
Posted by nickholt1972 on Fri, 18 Feb 2022 15:32:48 +0100
Linux as a general hardware kernel, how to achieve general and efficient memory management. In the previous article on Linux memory segmentation and paging, we mainly explain that the Linux kernel carries out the abstract mapping of physical address, logical address and linear address, which is like dividing territory for families in a wilderne ...
Posted by Kane250 on Fri, 18 Feb 2022 07:00:02 +0100
I recommend a free open course of zero sound college. Personally, I think the teacher speaks well. I share it with you: Linux, Nginx, ZeroMQ, MySQL, Redis, fastdfs, MongoDB, ZK, streaming media, CDN, P2P, K8S, Docker, TCP/IP, collaboration, DPDK and other technical contents, learn immediately
1, Use of conditional variables
API s related to c ...
Posted by dajawu on Wed, 16 Feb 2022 16:39:36 +0100