Original URL: http://blog.chinaunix.net/uid-23769728-id-3173282.htmlThis blog post is very long, although this is the next article, but it is not finished, benchmark aspects of things are in progress, there are some problems I myself are talking
/************* By garcon1986 *******************/
Pear(PhP extension and applicationRepository) PHP extension and application library.
Pear is a "framework and Release System for reusable PHP components ". Pear can download, install, upgrade,
Process address space for Linux kernel profiling (III)
This section describes page missing exception handling programs and heap management.Page missing exception handling program
Two scenarios of triggering a page missing exception program:
1.
1, Function Brief: The main function isSelect one of the highest priority processes from the ready process to run in place of the current process。 2. Code Analysisschedule ();struct Task_struct *tsk = current; //current is the current
The parent process executes WAIT4 and calls schedule to switch to the child process:WAIT4 (child, NULL, 0, NULL);Like any other system call, the WAIT4 () entry in the kernel is SYS_WAIT4 (), and the code is as follows:Asmlinkage Long SYS_WAIT4
Source: http://www.cnblogs.com/sharra/archive/2010/12/30/1921287.html
Because you need to understand the principle of access to the underlying device, you need to understand the Access Mechanism of Linux devices, especially when dealing with a set
SYS.C Code AnalysisSetregid/* * This is do bsd-style, with no consideration of the saved GID, except * so if you set the effective GID, it sets t He saved GID too. This * makes it possible for a setgid-completely drop its privileges, * which is
This is a Windows system and application monitoring tool developed by Sysinternals, currently Sysinternals has been acquired by Microsoft, which combines the functions of file monitoring and registry monitoring two tools, and adds a number of
We have introduced the implementation principles of low-resolution timer and high-precision timer in the previous chapters. In order to facilitate other subsystems, the kernel provides some APIs for delay or scheduling in the time subsystem, for
Linux scheduling Summary
Scheduling:
Two Tasks of the scheduling program of the operating system:
1: scheduling:
Implement Scheduling Policies and decide the ordering of ready processes and threads competing with cpu. To put it bluntly, the process
Last time, I talked about the basic principles of CFS scheduling, and did not analyze the scheduling processes for wake-up and Process Migration, therefore, this article mainly analyzes the basic scheduling process in detail from several
In the above blogs, I have already explained some knowledge and key points about the Smack technology, but I have not shown the best part of the Smack technology, in the process of elaboration, there may be such problems and criticism, but I still
We have introduced the implementation principle of low-resolution timers and high-precision timers in the previous chapters, and the kernel has provided some APIs for delay or scheduling in the time subsystem to facilitate other subsystems, such as
After the/bin/echo is executed, the do_exit is mobilized and the child process is destroyed:Let's start with the system call exit () and first look at the implementation of exit () and go to the kernel-state execution sys_exit.Asmlinkage long
Environment variable Operation function
Char*getenv (const char* name); Get environment variable value
Intputenv (cahr* str); A string of name=value, put it in the environment table, and delete its original definition if name already
Process-Process scheduling (1) Context switch
Processes can be scheduled, but each process must be guaranteed to execute sequentially, and all the information required for a process execution can be maintained by the process's PCB
implementation of system call under Linux
Introduction to architecture and system invocation of Unix/linux operating system
what is an operating system and system call
The operating system is a virtual machine that is abstracted from the hardware,
Linux kernel wait queue inquiry-wait_queue_t-wait_queue_head_t
【
Related source version:
Linux kernel source version: linux-3.0.86
Uboot version: uboot-2010.12.
Android System Source version: Android-5.0.2 "
Waiting queues are one way in which
Before creating a process, let's briefly review the sys_clone () system call in the previous blog:Asmlinkage int sys_clone (struct pt_regs regs){Unsigned long clone_flags;Unsigned long newsp;Int _ User * parent_tidptr, * child_tidptr;
Clone_flags =
This article is to share the content of the PHP implementation of the system programming of the Guardian process, has a certain reference value, the need for friends can refer to
(a) process groups, sessions, control terminals, control processes
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.