Linux kernel design and implementation
Lkd for short. Starting from the beginning, we introduced process management, system calling, interrupt and interrupt processing.ProgramIn terms of kernel synchronization, time management, memory management,
Yes, you are not mistaken. It's samba "! However, this "Samba" is not the Dance "Samba", but refers to the Linux
Network Neighbor Samba. Sun has a famous saying that "the network is a computer". It seems that this is true. Although
In most cases, Linux acts as a DHCP server and Windows 95/98 acts as a DHCP client.
Linux can also be used as a DHCP client, that is, you need to install the dhcpcd RPM package, Linux as a DHCP server, you only need to install the
Summary: Writing device drivers is a challenging and adventurous job. When the device passes the init_mo
During dule function registration, device resources should be allocated. A major device resource is the I/O port. As a
In Linux, the file type does not depend on its suffix, but generally speaking:. O is the target file, which is equivalent to the. OBJ file in windows.. So is a shared library and is a shared object, used for dynamic connection, similar to DLL. A is
Statement: these articles are original articles. If you want to reprint them, you need to obtain your own permission. Otherwise, you will be held accountable. I hope you can understand them! (Small fish in the deep ocean)
Development Platform: PC
A few days ago, when I saw the driver, I encountered a waiting queue. I went online to search for the queue and checked it with the code. in kernel, wait_queue is widely used. wait_queue is used for implement in device driver and semaphore.
FIO is a good tool for iops testing. It is used for stress testing and verification of hardware. It supports 13 different I/O engines, including sync, MMAP, libaio, posixaio, SG V3, splice, null, network, syslet, guasi, and solarisaio.FIO official
Linux displays that all directories are under one directory tree, regardless of which drive/hardware they are located.The disk content in Linux appears as a subdirectory. The content of removable media will not automatically appear in these
1). Tar
Decompress: Tar xvf filename.tar
Decompress: Tar xjvf filename.tar.bz2
Decompress: Tar xzvf filename.tar.gz
Package: Tar CVF filename.tar dirname1 dirname2
Package: Tar czvf filename.tar.gz dirname1 dirname2
2). GZ and. Z
Decompress: gunzip
What is thread
A Linux thread is a special type of process with its own task_struct. The kernel does not have a special scheduling algorithm or data structure to characterize the thread. Instead, it is just a common process, only process space is
The Mail List discusses how writel is implemented. This function writes data to a register or memory address at the operating system layer with memory protection. In ARCH/alpha/kernel/IO. C
188 void writel(u32 b, volatile void __iomem *addr)189 {190
Many people always ask this question, so here is a summary document for your reference. Here, we must first describe that the following steps are for Linux systems and not for wince. Maybe you will notice that there are far more people doing Linux
From: http://blog.csdn.net/linweig/article/details/5085487
LinuxMonolithic Kernel)That is, most of the functions of the operating system are calledKernelAnd run in privileged mode. It correspondsMicro KernelDifferent, the latter only runs the basic
Cainiao compiles Linux KernelPig with double eyelidCainiao, I recently studied how to compile the Linux kernel. I hope to share it with you... We will not discuss the source code here, but some kernel compilation steps and related knowledge...
Some common basic commands:
Uname-a view kernel version
Ls-AL: Display Properties of all files
PWD displays the current path
CD-returns the last directory Cd ~ Returns the home directory.
Date S: set the time and date
Cal display calendar Cal 2006
Linux Command summary:
First, make several statements:
(1). These commands are run on Redhat Linux and may not work on ibm aix;
(2). I will not introduce all the commands, and I will not introduce all the parameters for each command. I will only
Lsmod actually reads and analyzes the/proc/modules File
cat /proc/modules
Information about the loaded modules in the kernel exists in/sys/modules. /sys/module is a sysfs directory level that contains information about the currently loaded modules.
Strace-f-o strace.txt/data1/WAF/sbin/nginx-C/data1/WAF/CONF/nginx. conf
If you want the system to generate a core file when an error occurs due to signal interruption, you need to set it in shell as follows:# Set the core size to unlimitedUlimit-C
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