In the previous blog, we explained the segmentation and paging mechanisms of Linux kernel based on the 80x86 system, and discussed in detail the Linux memory layout. With these basic concepts, we will discuss in detail how the kernel dynamically
Recently, during the 4020 SD card test, we found that if you perform file read/write operations for a long time, the following prompt is displayed:
A zone is low on free memory !!
I checked the Linux memory and the high-speed cache of Block devices
In ARM-based embedded system development, there are two GCC tool chains that often use cross-Compilation:The main difference between ARM-Linux-* and arm-elf-* is that they use different C-library files. Arm-Linux-* useWhile arm-elf-* generally uses
Line discipline (ldisc) is a software driver layer for Linux and Unix-like system terminal subsystems. The terminal subsystem can be divided into three layers from top to bottom:
The top layer tty core driver layer provides the character device
Discussion on the concurrent and manageable working queue mechanism in Linux
From: http://www.uml.org.cn/embeded/201106294.asp
Author: Zhao Jun, published on, IBM
Introduction:This
Differences between Linux static library and dynamic library and creation (transfer) of dynamic library)
I. Introduction
Generally, the link to the function library is completed during the compilation period (compile time. All related object files
Preface
Using Linux + iptables as a firewall has high flexibility and stability (dude, my firewall has never been restarted since it was done), but it is troublesome to install and set it, this article aims to use firewall instances for the company
A Brief Introduction to the FTP commands in Linux:
1. Connect to the FTP server
Format: ftp hostname or IP-address
A) on the Linux Command Line, enter the IP address or Host Name of the server to be set up: ftp 10.60.48.195.
B) The server will ask
Connect the two serial ports with crossover lines. Assume that the two serial ports are/dev/ttys0 and/dev/ttys1 respectively, you can directly execute Cat/dev/ttys0 in a shell, then execute echo "test. ">/dev/ttys1. If both serial ports are good,
1. Find and replace methods used in VIUse the S command to replace strings. The specific usage includes:: S/str1/str2/use string str2 to replace str1 that appears for the first time in the line: S/str1/str2/g replace all the str1 strings in the row
This article describes the concept of Linux-pam and analyzes the architecture of Linux-pam with readers. The author hopes to help readers better understand Linux-Pam, in order to have a deeper grasp of it.
1. What is Linux-Pam?
For the sake of
If you want to apply the program to a specific project, we recommend that you Replace "_ udelay (50000)" in the interrupt handler "button_irq ()" with a kernel timer.
Key schematic
// -------------------------------------------- Driver -------------
Recently, the company's power line was overhauled, and the power supply was cut off under abnormal circumstances. As a result, a Ubuntu server cannot continue the Service (many strange faults ),
We plan to replace the system with centos 5.2. This
Check the memory information, CAT/proc/meminfo. Similarly, check the CPU information. CAT/proc/cpuinfo sometimes has such questions. For example, if the 4-core CPU is a 2-core CPU * dual-core, or 1 CPU * quad core? There is a simple method: the
The library is essentially a binary format of executable code that can be loaded into memory for execution. The database is divided into static and dynamic databases.Differences between static and dynamic Databases
1. Static function library
The
Host:Kubuntu 8.04 (linux-2.6.24-19)Gcc-4.2.3Target machine:S3C2440Cross Compiler (made by crosstool-0.43 ):Arm-linux-gcc-4.1.0Kernel version to be transplanted:Linux-2.6.26File System:CramfsBytes ------------------------------------------------------
Linux minicom is a serial port debugging tool in Linux, similar to a Super Terminal in windows.
1. Install minicom:Check whether the system has installed minicom. If not, install minicom on your own.
[Root @ Web Server] # rpm-Q
Transfer from Embedded Information Network
Kernel Introduction
Kernel is the core of an operating system. It manages system processes, memory, device drivers, files, and network systems, and determines system performance and stability.
An
Diff output formats are classified into traditional and unified formats.
1) output in the traditional diff format.
######################################## ####Cat before.txtOutput:This is a line to be deletedThis is a line that will be changedThis
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service