PS. He Bong Original works reproduced please specify the source "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-10000290001.mykernelExperimental Guidance (how the operating system works)Use the lab building virtual machine to open the shell and enter the following code
1 CD linuxkernel/linux-3.9.4
2 Qemu-
Kernel module ProgrammingFirst, the preparatory workVirtual machines: VMware Workstation 12Operating system: UbuntuCurrent kernel version: Linux-headers-4.4.0-22-genericIi. Knowledge of kernel modulesA module is a standalone program that can be compiled separately, but not run independently. It is linked to the
()
For a large file descriptor, which examines each bit in the collection, which is just a list (but how complex data structures are passed into the kernel?). )
Select () re-creates fd_set on return, while poll () separates events from Revents
VFS, page buffering, page write-back
buffered I/O
P72 ungetc: As long as there is enough memory, Linux allows unlimited time
Http://www.ibm.com/developerworks/cn/linux/l-kdb/index.htmlThis article will first introduce some kernel code monitoring and error tracing techniques on the Linux kernel, which vary depending on the required usage environment and usage methods, and then focus on the source-level debugging methods of the three
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
Liu Chang Original works reproduced please indicate the source "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000write in frontThis experiment focuses on the process of loading and starting an executable program in the Linux kernel, including the analysis of executables, the loading an
MB ()
Stop the loading and storage actions across the barrier from being sorted again
SMP_RMB ()
RMB () function on SMP with barrier () function on up
Smp_read_barrier_depends ()
Provides read_barrier_depends () functionality on the SMP. Barrier () feature available on Up
SMP_WMB ()
WMB () feature on SMP with barrier () function on up
SMP_MB ()
MB () feature on SMP with barrier () function on up
. garrels. be/training/bash
Author
Machtelt Garrels
Format
PDF, HTML
Pages
165
8. After the software wars
This book describes good and bad things in computer software development. It also implies many things today.
Website
Www.lulu.com/content/4964815
Author
Keith Curtis
Format
PDF
Pages
292
9. The Cathedral the bazaar
This is a methodology about software
8.211: Prepare for the transplantGet Samsung ported kernel, create Si project, add to virtual machine, modify makefile Arch and cross_compile modify results as followsARCH = ArmCross_compile =/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-Then try to configure, (in arch/configs/to find the closest to their own development board, here is the choice of smdkv210_android_defconfig) to get the. config file
Compare the android Linux kernel downloaded from Google's official website (http://code.google.com/p/android/downloads/list) with the standard Linux 2.6.25 version of kernel, the android system kernel mainly adds the following content:
1. Add the gold-fish platform based on
First, let's talk about how this problem came about. (When analyzing a technology, we should first consider what problems it wants to solve, or when learning new knowledge, what is the purpose of this knowledge ).
When compiling the kernel, I found a file named vmlinux. LDS. s under the arch/ARM/kernel directory. At first glance, do you want to compile a file? It seems that it is not. So what does it do?
Preparatory work for the first stage 1 Building the environment 1.1 Download the kernel source code and compile the kernelCreate a directory and enter the directory:Download Source:Unzip, and enter the directory: xz-d linux-3.18.6.tar.xzTAR-XVF linux-3.18.6CD linux-3.18.6Compile related files for the selected x86 sche
Android Linux kernel compilation and androidlinux Kernel
Platform:
Wind7_64 + Ubuntu12_04_64 + VMware
Here we use Android5.0 as an example:
Android5.0 can be downloaded here:
Android-5.0.tar.gz115 online storage package code: 5lbd7crtk1wzHttp://115.com/lb/5lbd7crtk1wz
Linux_source_goldfish can be downloaded here:
Linux_source_goldfish.tar.gz115 online storage
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 kernel notification chain notifier1.Introduction to the kernel notification chain list (referencing network data)Most of the kernel subsystems are independent of each other, so one subsystem may be interested in events generated by other subsystems. To satisfy this requirement, the
Turn from: http://www.cnblogs.com/wang_yb/archive/2012/08/15/2640972.html
This article briefly introduces the basic concepts of kernel-related.
Main content: Single kernel and microkernel kernel version number
1. Single Kernel and microkernel
Principle
Advantage
Disadvantage
Single
Communication code
Kernel
A core subsystem such as a scheduler
Lib
Same kernel function
Mm
Memory management subsystem and VMS
Net
Network subsystem
Samples
Example, demo code
Scripts
Scripts used to compile the kernel
Security
1. "Linux kernel design and implementation"The book weighs on the principle. The best book for getting started. The author is for the 2.6 kernel to join the preemption, the dispatch part is very proficient, and scheduling is the core of the whole system, so this
Introduction to Linux Namespace
We often hear that Docker is a virtualization tool that uses Linux Namespace and cgroups, but what is Linux Namespace how it is used in Docker, where many people are confused, Let's begin by introducing the Linux Namespace and how they are used in the container. Concept
Recommended blog posts:Linux Kernel "problem Gate"-learning issues and experience highlights
Recommended download:Methodology of essence edition of "Cultivation of Linux kernel"
Just now, I was glad to hear that during the trial run of the Sb, the residents of Shanghai visited the site were in a very stable mood and showed their style with great comfort. So here
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.