Recently, some netizens have repeatedly mentioned an open source project kernel-win32 designed to move wineserver into the kernel; some questions and themselves, hoping to make some analysis and explanation of its code, also asked about the relationship between compatible kernels and this project. So from the beginning of this talk about kernel-win32.First, compa
sigttou, or control by the ptrace System Call of other processes, temporarily handing over the CPU to the control process.? Task_swapping: process in which the process page is swapped out of memory.(2) unsigned long flags;Process flag:? Pf_alignwarn prints the alignwarn warning.? Pf_ptraced is monitored by the ptrace system call.? Pf_tracesys is tracking.? The pf_forknoexec process has just been created but has not been executed yet.? Pf_superpriv Super User Privilege.? Pf_dumpcore dumped core.
U-boot kernel, file system download mode, u-boot Kernel1 Preparation 1.1 TFTP server
The host computer uses the Ubuntu system. The installation method of the TFTP server is as follows:
$ Sudo apt-get install tftpd-hpa
Open the tftp configuration file in the path:/etc/default/tftpd-hpa, as shown below:
TFTP_USERNAME = "tftp"TFTP_DIRECTORY = ""TFTP_ADDRESS = "0.0.0.0: 69"TFTP_OPTIONS = "-l-c-s"
Here, TFTP_DIRECTORY indicat
Kernel synchronizationSynchronous introductionThe concept of synchronizationCritical section: Also known as a critical segment, is the code snippet that accesses and operates shared data.Competition conditions: 2 or more than 2 threads are executed simultaneously in the critical section, which constitutes a competitive condition.The so-called synchronization, in fact, prevent the formation of competitive conditions in the critical area.If the critical
I found that I have always been a person to learn about. I don't know whether my mind is impetuous or I can't be so knowledgeable. Fortunately, I am a good thinker. Now I have come up with a new idea to differentiate these two concepts. It will not be confused. After understanding the following issues, it is more conducive to understanding the Linux architecture.
In general, we will think that all modules that can serve processes should be placed in the kern
Compiling the Linux kernel is the basic function of kernel development, and if we add kernel functionality by directly modifying the Linux kernel code, the modified kernel code must be recompiled to generate a new image file and then load the image file to enable the new
Compile the Linux kernel to solve the running problem of vmwareworkstation6.0 in the new kernel-Linux general technology-Linux programming and kernel information. For more information, see the following. 1. download the latest Linux Kernel File linux2.6.24.tar.gz.
2. Copy it to the/usr/src directory and decompress it.
# Based on v2.6.26 KernelCompiling and generating kernel target files using Linux kernel makefile
Directly execute the make compilation process
1. First find the entry point (Entry Point Problem)# Compile the kernel line502 and directly execute make to compile all: vmlinux # compile the module line1037 by default. If you select the compilation module, this will
Complete program at Download: http://download.csdn.net/detail/dijkstar/7913249The event created by the user layer is an handle handle, and the kernel-created kernel mode of kevent is a thing. As a result, events created at the application layer can be obtained and used at the kernel level. This part of the principle, see Zhang Fan authored "Windows Drive Technolo
It was just a day, and I studied how to compile Linux kernel in my spare time. I used to work on Windows platforms and almost never used Linux, so I wanted to have a good time. The platform is the latest Ubuntu 10.04 LTS, and the kernel is also the latest version 2.6.35.2 downloaded. In fact, kernel compilation is much more convenient than in the past. If menucon
Linux0.11 kernel-process scheduling Analysis 2. scheduling, linux0.11 Kernel
[All Rights Reserved. For more information, see the source. Source: http://www.cnblogs.com/joey-hua/p/5596830.html]
In the previous article, process scheduling is ultimately to call the timer_interrupt function, in system_call.s:
#### Int32 -- (int 0x20) clock interrupt handler. The interrupt frequency is set to 100Hz (include/linu
This paper mainly introduces the kernel configuration system of Linxu2.6.
If you browse the source directory, you can see that there are a lot of kconfig files and makefile files in the source directory and its subdirectories. What's the effect of these files? It is these files that make up the Linux2.6 kernel configuration system.
one, make menuconfig behind------the organization of the Kconfig file
Ha
How to modify the CentOS6, CentOS7 kernel to support the installation of a sharp-speed kernel
3, the current CentOS 7 small problem more, sharp speed for CentOS 7 version less. Recommended for installation in CentOS 6.
One, CentOS 6 support the installation of the core of the sharp speed: 2.6.32-504.3.3.el6.x86_64
1, first run the following command for their own VPS download installation
This article provides a brief introduction to kernel-related basic concepts.Main content:
Single Core and micro core
Kernel version number
1. Single Core and micro-core
principle
Advantage
disadvantage
single core
1. Simple. 2. Efficient: All cores are in a large address space, so calls and call functions are s
executing at any time
Soft interrupts and Tasklet: The kernel can wake up or dispatch soft interrupts and tasklet at any time, interrupting code that is currently executing
Kernel preemption: The Linux kernel is preemptive, so the kernel's task may be preempted by another task
Sleep and user space synchronization: Processes that execute in the
Basic synchronization mechanism of the kernel:Key features of the preemption kernel: a process running in the kernel state that may be replaced by another process during kernel functions execution.Kernel preemption: Linux 2.6 Allows users to configure the kernel to be very enabled when compilingProcess critical section
/proc/kallsyms records the names and addresses of all the exported symbols in the kernel
We need to compile 2 kernel modules, and then one of the kernel modules to call functions in another kernel module
The HELLO.C code is as follows
#include
From this we can see that we have called 2 functions Add_integar and Sub
Tags: Linux kernel1, the kernel is what, the kernel is the core of the operating system.In Linux, in fact, the kernel is the system above a file, this file contains the driver of the hardware of the test program and driver module. The kernel file is in the/boot directory in the beginning of the Vmlinuz file, and someti
Phenomenon:CentOS7 boot screen displays multiple kernel optionsReason:Under normal circumstances, there are two startup items, one is "Normal startup" and the other is "Rescue mode Startup" (rescue).If there are more than 2 startup items, the old kernel of the current system is not removed. The reason is that the old kernel is not automatically deleted after the
What changes does Google make in the kernel?A company compared the standard kernel and Android kernel, and found that Google modified 75 files and added 88 files. The company also annotated these modified and new files.
Goldfish -- 44 files
Kernel/ARCH/ARM/Mach-goldfishKernel/include/ASM-arm/arch-goldfish
The android s
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.