Kernel lock
Multi-core processors, there will be several processes in the kernel state, and in the kernel state, the process can access all kernel data, so to protect the shared data, that is, mutual exclusion
Classification (1) Atomic Operation
atomic_t data type, Atomic_inc (atomic_t *v) will v plus 1Atomic operatio
Press the power supply, click it, start the computer, and then the BIOS screen will pop up. after a while, the GRUB interface will pop up, and a line after line of characters will pop up on the black screen, from time to time there are OK words
Press the power supply, click it, start the computer, and then the BIOS screen will pop up. after a while, the GRUB interface will pop up, and a line after line of characters will pop up on the black screen, from time to time there are OK words. oh, don't
Linux Kernel module notes, Linux kernel module
Topic: 1. basic embedded knowledge 2. linux Kernel Introduction 3. kernel compilation and installation (x86) 4. first Module 5. module related tools 6. module symbol export 7. module parameter job: 1. check linux/module. h. The location of the header file that is exposed t
This HTML page address: http://oss.org.cn/kernel-book/In- depth analysisLinuxKernel sourceObjectiveChapter I. into Linux1.1 GNU and Linux growth1.2 Linux development model and operation mechanism1.3 into Linux Kernel 1.3.1 Features of the Linux kernel1.3.2 changes to the Linux kernel version1.4 Analyzing Linux the meaning of the
What does the Linux system consist of?Consists of user space (application +gnu C standard library) and kernel space (System call interface + kernel + Kernel architecture code).What exactly is the Linux kernel? and composition.Seven types of operating levels for arm?What is the role of the
Windows downloaded the linux-2.6.37 kernel source code, copy to the U disk, mounted to the centos 5.5 System in the virtual machine through Mount. You can use Putty to connect to the VM using host-only.
Mount the U disk in the/mnt/directory, copy the kernel compressed package to/mnt/kernel, tar decompress, enter the linux-2.6.37 directory. Run make menconfig. The
Recommended blog posts:Linux Kernel "problem Gate"-learning issues and experience highlights
Recommended download:Methodology of essence edition of "Cultivation of Linux kernel"
Makefile is not make love
I used to spend four years in school and didn't learn anything. Every day, I skip classes, surf the Internet, play games, and go to bed. When I graduated from college, I was told that makefile was comp
Determine the browser version and the browser kernel, and determine the browser kernel
If (! Browser. ie ! Browser. mac) {var UA = navigator. userAgent. toLowerCase (). toString (); // determines whether it is a non-IE version in the IE kernel if (UA. indexOf ('360ee')>-1) | (UA. indexOf ('360se')>-1) | (UA. indexOf ('se')>-1) | (UA. indexOf ('aoyou')>-1) | (UA.
Solution to failure to boot after Ubuntu kernel upgrade: ubuntu Kernel
Ubuntu has always reminded me to upgrade the kernel. I can't help it today. Then GG goes, and an error is reported directly at startup.
[Firmware Bug] TSC_DEADLINE disabled due to Errata; please update microcode to version: 0xb2 (or later) ...... a lot
It seems that the CPU microcode is not
PHP kernel learning-create PHP extension, php kernel-extension. Learning the PHP kernel-creating PHP extensions, and the php kernel-the extension has started to look at the PHP kernel for some time. now I want to learn and summarize it, today we will summarize how to create
There was a lot of content during the startup process, so I had to analyze it slowly. Before that, I also collected a lot of information and added some understanding here. It's hard to get started with the kernel.Source codeWe will cherish this hard-won moment.
To get the kernel structure, we have many methods, such as viewing kbuild makefile and documentation, but I chose to find it on the network, because we focus on how to analyze the source.Code
Linux kernel kernel_ nuclear travel_ Travel Linux kernelLinux 2.61Hellomod.c001Hello World driver for Linux 2.6#include #include #inlcude /* Header File */Static Int_init lkp_init (void){PRINTK ("Equivalent to the printf output function in c,return 0;}Static Void_exit lkp_cleanup (void){PRINTK ("}Module_init (Lkp_init); /* Entry point */Module_exit (Lkp_cleanup); /* loadable module, the kernel calls the Lkp
Main reference: https://www.linux.cn/article-6137-1.html1. Locate the required kernel version from the http://kernel.ubuntu.com/~kernel-ppa/mainline/and enter the corresponding file path.2. Select the. deb file, follow the operating system type, 32-bit Select i386 suffix, 64-bit select AMD suffix. Select which filesReference: Https://wiki.ubuntu.com/Kernel/Mainli
Preface: Today, I'd better use more than 3.10 of the kernel to install Docker. I. Environment 1.1 System Environment [Email protected] kernels]# lsblsblk lsb_release [[email protected] kernels]# lsb_release-alsb Version:: Base -4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch: Printing-4.0-amd64:printing-4.0-noarchdistributor ID:CentOSDescription:CentOS Release 6.5 (Final) release:6.5c Odename:final 1.2 C
Linux source code compiled steps, in fact, is very simple, mainly in the configuration of which modules need to be familiar with the functional opening, the following to see how the Linux kernel needs to compile the steps:1, need to go to the Linux official website to download a kernel version of the source code,https://www.kernel.org/The instance uses the following version:Linux-2.6.32.65.tar.xz2, need to
One pageThe kernel takes the physical page as the basic unit of memory management; the Memory Management Unit (MMU) transforms the virtual address into a physicalAddresses, which are typically processed in pages. The MMU manages the tables in the system in the page size unit.32-bit system: Page size 4KB64-bit system: Page size 8KBThe kernel represents each physical page in the system with the corresponding
1. Create a kernel for the embedded platform (the 6410 Development Board is used as an example here)
1. Clear the original configuration and intermediate files
(1) x86: Make distclean
(2) arm: Make distclean
2. Configure the kernel
(1) x86: Make menuconfig
(2) arm: Make menuconfig arch = arm (platform to be specified)
3. Compile the kernel
(1) x86: Make bzimage
(
PHP kernel (1) memory management and php kernel memory management. PHP kernel (I) memory management, php kernel memory management I. When the memory management is developed in C language, developers need to manually manage the memory. PHP is often used as a web server module. memory: PHP
Wince kernel reduction (Chinese font) and separation of Font Library and kernel (conversion)
Each time you customize a Chinese system, NK is always about 10 MB larger than that of English. It also takes time to copy the kernel to the memory during bootloader startup, and it also occupies a lot of memory, it's a waste of about 10 MB of memory left for the system a
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.