Linux has a variety of stacks, it is easy to get rid of, simply explain: 1, user state stack: at the bottom of the process user state address space, as we usually understand and understand, is a section of the virtual address space, Not much to say ~ 2, the kernel stack: is independent of the user state stack, when the user state and kernel mode switch, you need to switch. The default 8k, can be modified by the kernel configuration item and put together with the thread_info structure, common one union: thread_union,
Click (here) to collapse or open
1. Union thread_union {2. struct thread_info thread_info;
3. unsigned long stack[THREAD_SIZE/sizeof(long)];
4. }; placed in a special section: __(" .data.init_task")))
Click (here) to collapse or open
1. union thread_union init_thread_union 2. __attribute__((__section__(".data .init_task"))) =
3. { INIT_THREAD_INFO(init_task) };
Click (here) to collapse or open
1. ENTRY(stack_start)2. .long init_thread_union+THREAD_SIZE
3. .long __BOOT_DS
The default is shared with the interrupt stack, which can be modified by the kernel configuration item, ie Each process has its own kernel stack 3. The interrupt stack: the default is shared with the kernel stack and the contents of the kernel stack are independent, interrupts, exceptions, and soft interrupts are used. This stack uses the kernel stack of the interrupted process. >
Linux kernel is very stable, but it is still inevitable to encounter a crash, get the memory image w
You can try it, but dont do bad things. Fortunately, I need a password to modify m
Linux supports sharing open files between different processes. To illustrate file sharing, lets firs
Running live55 under linux shows the figure: not getting ip: ip is 0.0.0.0 live555 does not know th
How Linux uses commands to generate bounce SHELL
Set the script to self-starting under Linux system
Naming files with variables in Linux
The principle and function of Redo log
Eight solutions for Linux hard disk problems
Linux telnet service opening steps
Steps to modify the original Linux hostname
Basic tutorials for using Yum under Linux
Linux system how to set up a backup
Linux command line to modify IP 2 methods
Microsoft official video tutorial: Using Windows files to install Windows 7
NAT server setup application example
Win7 sound is getting smaller Win7 sound is big and small solution
How to remove Modern Apps network isolation in Windows 8
Win8 how to use the photo application in the start screen
How does Win10 disable Xiaona Assistant to protect privacy
Restore operating system to its previous state in Windows XP
View win10 computer configuration and system basic information method
How does the Win8 system enable the handwriting input formula function?
How to solve the problem of less and less disk space during Win8 use