This article introduces the second part of the ARM Linux boot, written in C, mainly on the creation of Start_kernel to 1th process. Mainly about the process, and then the sub-function to explain.First, Start_kernelStart_kernel is located in
When reading the Linux source code, we often find likely and unlikely, which are defined under Compiler.h.#define LIKELY (x)__builtin_expect (!! (x), 1)#define UNLIKELY (x)__builtin_expect (!! (x), 0)Here we need to first understand __builtin_expect:
When a process running in User mode requests additional memory, pages is allocated from the list of free page frames main tained by the kernel. This list was typically populated using a page-replacement algorithm such as those discussed in sections 9
Conclusion: 1.linux2.2+ supports SMP (symmetric multiprocessor (symmetricalmulti-processing) mode. Android SDK 8 uses the2.6.29-00261-g0097074-dirty.2. When the kernel supports both processes and threads, it is possible to implement a "many-to-many"
I have been studying Linux for half a year and I am doing exercises on a virtual machine. Later want to do on the physical machine, and do not want to kill Win7 to see some of the information so try to install the Win7 system under the installation
Create a background:Due to the operation of the server, nearly thousands of Linux servers need to be unified management, such as batch to the Linux server to execute the relevant instructions, the same time batch to the Linux server upload package,
Upgrade bash for redhat5 using centos yum command
How to upgrade bash for redhat5 to prevent bash vulnerabilities, see http://down.51cto.com/data/194201
1, to centos official website to download yum-3.2.22-40.el5.centos.noarch.rpm,
Linux terminal font color settings, path name settings, and ls command settings
Http://www.2cto.com/uploadfile/Collfiles/20140928/2014092808582563.
Linux allows you to customize System Configurations Based on your preferences.
The personal
How to add an automatic execution program under ubuntu
1. automatically run the program at startup
After Linux is loaded, it initializes the hardware and device drivers, and then runs the first process init. Init starts other processes based on the
[RK_2014_0929] mount a DVD source on ubuntu 14.04, rk_2014_092914.04
1. mount a DVD source in ubuntu 14.04
# Pwd/home/test # ls/home/test/ubuntustudio-14.04.1-dvd-amd64.iso
2. the URL of this article [tom-and-jerry was published at, September 2
Multi-IP settings for the next network card in CentOSMethod 1: manually bind a small number of IP addresses (Here we use binding an IP address to eth0 as an example. If other network cards are used, modify the corresponding file name)
1. Copy the
Centos 7 forgot Password Change User Login PasswordCentos 7 is an open-source Linux kernel-based free system. For more information, see the steps for resetting the password of centos 7.Rhel7/centos7 uses grub2 to replace the previous grub boot,
Network troubleshooting and viewing in linux
Basic troubleshooting errors
Troubleshooting must be simple and complex. Some people repeatedly configure the above files, but they cannot access the network. They always think that the system is faulty
Nagios monitors the usage of Linux system resources-about Nagios
Application scenarios: both the test environment and the runtime environment require real-time monitoring programs to monitor the health status of the system (Linux Redhat). The
Linux user configuration file (version 2)/Etc/passwd file profiling file format:
Root: x: 0: 0: root:/bin/bash
Username: Password: UID: GID [default group ID]: annotation Description: Home Directory: shell [Part 7]
Linux user category:
Super User (
Ubuntu14.04-Chrome-the webpage content is displayed normally, and the Tab displays garbled code.
Install Chrome in Ubuntu 14.04 and open the webpage. The Chinese text is displayed on the page. Chinese characters are garbled on the tab. As follows:
Linux User management commands (version 2)Add User
1. useradd-set Option username [-D view default parameters]
Option:
U: UID (which must not be in the system]
G: Default User Group GID [preferably]
G: specify multiple groups to which the user
Linux special permission analysis (version 2)SetUID [permission value = 4]
Q: Why can ordinary users change their passwords?
Ll $ (which passwd)
1. SetUID: When an executable program/command has the SetUID permission, the user executes the program
Disable Tomcat directly without authentication in Telnet
Disable Tomcat directly without authentication in Telnet
Bytes ----------------------------------------------------------------------------------------------------------------------
The Tomcat
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