Mutex object (Mutex)The kernel object can ensure that the thread has mutex access to a single resource.
A mutex object contains a quantity, a thread ID, and a recursive counter.
The behavior of the mutex object is the same as that of the key code segment, but the mutex object belongs to the kernel object, and the key code segment belongs to the user mode object.
This means that mutex objects run slowly than
The Dojo/_base/kernel module is the Dojo Foundation module, which contains the most basic features of dojo.When using dojo, you generally do not need to refer to the module directly unless you extend the toolbox to add additional modules to it. Most dojo core modules rely directly or indirectly on the Dojo/_base/kernel module.1. Methods Deprecated (Behaviour,extra,removal)When the Isdebug configuration ite
1. Configure the Environment
Operating system: CentOS 5.2
Download linux-2.6.18 version of kernel, URL: http://www.kernel.org
Description: The compiled document is suitable for 2.6. More than 18 of the Linux kernel version, only the compiled Linux kernel version can not be lower than the Linux operating system itself
Tag:linux kernel cat>/etc/sysctl.confNet.ipv4.ip_forward = 0 means to turn on the routing function, 0 is off, 1 is onnet.ipv4.conf.all.rp_filter=1 is "tell" kernel enhanced inbound filtering (ingress filtering) and outbound filtering (egress filtering)Net.ipv4.conf.default.rp_filter = 1 Turn on reverse path filteringnet.ipv4.conf.default.accept_source_route = 0 packages that handle passive routesKERNEL.SY
Linux kernel has a very powerful function is to dynamically load the module, the module in this case is actually a kernel-supported applet. Before we actually get into the Linux kernel world, we can go through an addiction and load a kernel module on our own.
Since the module is the program, we first write a small prog
Sleep a good sleep, very late, for a long time not so comfortable, today's task is not heavy, so the pressure is not big, oh, the weather is really cold, but the laboratory has air conditioning, I still like to stay here, there is a different feeling, after writing so many days, I do not understand the page gradually enlightened, And also made some friends, really very happy ah. Today will introduce you to add code to the kernel, take a look at it ~Fi
CentOS deletes the old (kernel) kernelWhen CentOS updates the kernel, many startup items will be added during startup. we can delete the old kernel and keep the latest kernel so that some disk space (/boot) can be released ).(1) view installed kernelsCommand: rpm-q kernelShow results:
Differences between Linux 0.12 kernel and modern kernel in memory management
Linux 0.12 kernel memory management is relatively simple and crude. The kernel only uses one page Directory and can only map 4 GB linear space. Therefore, the virtual space (Logical space) of each process can only be 64 MB, A maximum of 64 pro
Linux network subsystem Kernel Analysis, linux subsystem Kernel
Select route
To send data packets to PC2, the linux system queries the route table to see that the 168.1.1.10 (Destination Address) gateway address is 192.168.1.1. In this case, the linux system selects Nic 1 to send data packets.
2. Neighbor subsystem (establish neighbor information through arp)
When network adapter 1 is selected to send data,
Replace the kernel in ubuntu, and replace the kernel in ubuntu.
First download the Linux kernel source code, and store it in the/usr/src directory, here for testing, is in ubuntu14.04, download the kernel is linux-3.14.10
2. Then enter the downloaded kernel linux-3.14.10 r
Linux kernel source code learning: Zombie processes, Linux kernel source code botnets
Orphan and botnets
After a normal sub-process fork parent process, the two establish a parent-child relationship.
When the child process ends, it notifies the parent process, clears the memory occupied by the child process, and leaves its exit information (exit code) in the kernel
Jiangid:fuchen1994Experimental topic: Analyzing the process of creating a new process for the Linux kernel
Reading comprehension task_struct data structure http://codelab.shiyanlou.com/xref/linux-3.18.6/include/linux/sched.h#1235;
Analyze the kernel processing process of the fork function Sys_clone, understand how to create a new process and how to create and modify task_struct data stru
0.12 kernel memory management is relatively simple rough, the kernel only uses a page directory, can only map 4G of linear space, so each process of virtual space (logical space) can only give 64M, up to 64 processes; Each process has a corresponding task number NR, when a process needs to allocate process space, The linear start address of the process space can be obtained only by multiplying nr by 64M. Th
Linux brain "kernel" about itWhat is a kernelKernel (kernel) is the core of the operating system, the equivalent of the human brain, the control of all hardware devices, that is, you want the computer to help you do all the work, it needs to be done through the kernel's help, of course, if you want to implement a function kernel is not provided, then you must add
Ubuntu kernel compilation tutorial-compile the Linux4.5.0 Kernel
Tutorial environment: Ubnuntu 64-bit (14.04 recommended) + Xshell
The Linux ECs is very useful for compiling the kernel. This article describes the most basic kernel compilation methods. For convenience, all operations are performed under the root user.
I
Upgrade Ubuntu 10.04 with 2.6.32 kernel to 3.0 kernel graphic tutorial, 10.042.6.32
1. Complete the following practical work and screenshot the practice steps: 1) download and install the Virtual Machine VMWare Workstation; 2) install Linux2.x on the virtual machine; 3) Compile the Linux 2. upgrade x Kernel to Linux 3.x.
1) install VMware Workstation 11.1.0.
Linux Kernel 'arch/x86/kernel/cpu/mcheck/mce. c' Local Denial of Service Vulnerability (CVE-2018-7995)Linux Kernel 'arch/x86/kernel/cpu/mcheck/mce. c' Local Denial of Service Vulnerability (CVE-2018-7995)
Release date:Updated on:Affected Systems:
Linux kernel
Description
In-depth understanding of PHP kernel (6) function definition, passing parameters and return values, and in-depth understanding of the kernel. In-depth understanding of PHP kernel (6) function definition, passing parameters and return values, and in-depth understanding of kernel 1. function definition the user function
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.