Category: OS


OS

Memory Alignment

Reference Rules of Memory AlignmentFor each compiler, it has its own default alignment. For gcc its default alignment is 4, and it can be modified...

OS

Segments and Sections

SegmentsSegments usually describe the layout of .elf files in memory. In a C program the memory layout is as follows: So each the segments are...

OS

Pipe System Call

Pipe is a mechanism of inter-process communication (IPC). There are 2 types of pipe: unnamed pipe and named pipe. For unnamed pipe, they can only...

OS

Virtual Machine

What is virtual machine?Virtual machine is software to simulate different OSes on one single physical machine. By adopting this technology, the...