Tag

system calls

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
May 13, 2025 · Fundamentals

Understanding mmap: How Memory Mapping Improves I/O Performance

This article explains how mmap maps files into a process's virtual memory to eliminate double data copies and reduce system‑call overhead, offering performance gains, a simpler programming model, and discusses its limitations such as address‑space constraints and page‑fault latency.

I/O performanceLinuxMMAP
0 likes · 8 min read
Understanding mmap: How Memory Mapping Improves I/O Performance
Deepin Linux
Deepin Linux
Mar 10, 2025 · Fundamentals

Understanding Linux Process Creation, Waiting, and Execution: fork, wait, and exec

This article explains how Linux processes are created, managed, and replaced using the fork, wait (including waitpid), and exec system calls, covering their prototypes, return values, copy‑on‑write optimization, and practical C code examples that demonstrate their coordinated use in real‑world scenarios.

C ProgrammingExecLinux
0 likes · 25 min read
Understanding Linux Process Creation, Waiting, and Execution: fork, wait, and exec
Deepin Linux
Deepin Linux
Dec 19, 2024 · Fundamentals

Understanding the Implementation and Mechanisms of the C malloc Function

This article explains the purpose, prototype, and usage of C's malloc function, delves into its underlying implementation using free‑list mechanisms, virtual‑memory translation, system calls like brk and mmap, and compares it with related functions such as calloc, realloc and new, while providing practical code examples and best‑practice guidelines.

C++dynamic memoryfree
0 likes · 32 min read
Understanding the Implementation and Mechanisms of the C malloc Function
Deepin Linux
Deepin Linux
Dec 3, 2024 · Fundamentals

Understanding Linux Processes, Kernel Threads, and System Calls

This article provides a comprehensive overview of Linux processes, including their creation, states, kernel and user threads, process management commands, and the role of system calls and security models in enabling efficient multitasking and resource control within the operating system.

LinuxOperating SystemProcess Management
0 likes · 26 min read
Understanding Linux Processes, Kernel Threads, and System Calls
Deepin Linux
Deepin Linux
Nov 28, 2024 · Fundamentals

Understanding Linux System Calls and APIs: Mechanisms, Implementation, and Usage

This article explains the relationship between Linux system calls and APIs, describes how system calls are implemented on x86 and ARM architectures, provides code examples in C and assembly, and discusses practical usage scenarios such as file operations, networking, and debugging techniques.

APILinuxassembly
0 likes · 39 min read
Understanding Linux System Calls and APIs: Mechanisms, Implementation, and Usage
Deepin Linux
Deepin Linux
Apr 25, 2024 · Fundamentals

Understanding Linux System Calls: Mechanism, Debugging, and Implementation

This article explains how Linux system calls serve as the primary interface between user‑space programs and the kernel, describes the transition from user mode to kernel mode, and provides step‑by‑step debugging examples and source‑code snippets for x86_64 architectures.

Linuxassemblykernel debugging
0 likes · 31 min read
Understanding Linux System Calls: Mechanism, Debugging, and Implementation
Deepin Linux
Deepin Linux
Oct 13, 2023 · Fundamentals

Understanding Sockets: Concepts, TCP/UDP, System Calls, and Sample C Code

This article explains the fundamentals of sockets as a network communication abstraction, covering process communication, TCP/UDP protocols, socket descriptors, key system calls, the TCP three‑way handshake and four‑way termination, Linux kernel basics, and provides complete C examples for a server and client.

C++LinuxSocket
0 likes · 45 min read
Understanding Sockets: Concepts, TCP/UDP, System Calls, and Sample C Code
Refining Core Development Skills
Refining Core Development Skills
Nov 13, 2022 · Fundamentals

Understanding JDK NIO File I/O and Linux Kernel Mechanisms: Buffered vs Direct IO, Page Cache, and Dirty Page Management

This article provides a comprehensive analysis of how JDK NIO performs file read and write operations by examining the underlying Linux kernel mechanisms, including the differences between Buffered and Direct IO, the structure and management of the page cache, file readahead algorithms, and the kernel parameters governing dirty page writeback.

Buffered IODirect IODirty Page Writeback
0 likes · 78 min read
Understanding JDK NIO File I/O and Linux Kernel Mechanisms: Buffered vs Direct IO, Page Cache, and Dirty Page Management
Coolpad Technology Team
Coolpad Technology Team
Jul 20, 2022 · Backend Development

Performance Comparison of User‑Kernel Communication Mechanisms: ioctl, proc, and Netlink

This article examines three Linux user‑kernel communication methods—ioctl, proc, and Netlink—by describing their principles, presenting experimental setups and code, measuring nanosecond‑level call latency, and offering guidance on selecting the most suitable mechanism for a project.

Linux KernelNetlinkioctl
0 likes · 8 min read
Performance Comparison of User‑Kernel Communication Mechanisms: ioctl, proc, and Netlink
Architects' Tech Alliance
Architects' Tech Alliance
Jul 10, 2022 · Fundamentals

Understanding Linux I/O: Storage Hierarchy, Page Cache, and System Call Mechanisms

This article explains Linux storage hierarchy, the roles of user‑space and kernel caches, the three‑layer I/O stack, page‑cache synchronization policies, file‑operation atomicity, locking mechanisms, and performance testing techniques for HDD and SSD devices.

I/OLinuxpage cache
0 likes · 16 min read
Understanding Linux I/O: Storage Hierarchy, Page Cache, and System Call Mechanisms
Tencent Cloud Developer
Tencent Cloud Developer
Mar 29, 2022 · Fundamentals

Deep Dive into the Linux epoll Mechanism and Its Kernel Implementation

The article dissects Linux’s epoll I/O multiplexing, tracing the flow from socket creation with accept through epoll_create, epoll_ctl registration, and epoll_wait sleeping, detailing the kernel’s eventpoll object, red‑black tree, per‑socket wait‑queue callbacks that enable O(log N) registration and O(1) event delivery for tens of thousands of connections.

C++IO MultiplexingLinux
0 likes · 24 min read
Deep Dive into the Linux epoll Mechanism and Its Kernel Implementation
Refining Core Development Skills
Refining Core Development Skills
Jan 28, 2022 · Information Security

Detecting a Hidden Mining Virus in a Linux System: A Narrative

A dramatized Linux security incident shows how administrators use commands like top, ps, netstat, and the unhide tool to discover hidden mining processes, isolate suspicious network connections, and finally terminate the malicious hidden PID, illustrating practical techniques for rootkit detection and response.

LinuxRootkit DetectionUnhide
0 likes · 7 min read
Detecting a Hidden Mining Virus in a Linux System: A Narrative
Architecture Digest
Architecture Digest
Jan 5, 2022 · Fundamentals

Traditional System Call I/O, Read/Write Operations, and High‑Performance Optimizations in Linux

This article explains how Linux implements traditional system‑call I/O using read() and write(), details the data‑copy and context‑switch overhead of read and write operations, describes network and disk I/O, and introduces high‑performance techniques such as zero‑copy, multiplexing, and page‑cache optimizations.

I/OLinuxOperating Systems
0 likes · 12 min read
Traditional System Call I/O, Read/Write Operations, and High‑Performance Optimizations in Linux
Architects' Tech Alliance
Architects' Tech Alliance
Dec 18, 2021 · Fundamentals

Understanding Linux I/O: Storage Hierarchy, Page Cache, and Performance Considerations

This article provides an in‑depth overview of Linux I/O mechanisms, covering the memory hierarchy pyramid, kernel‑level caching layers, the Linux I/O stack, page‑cache synchronization strategies, file‑operation atomicity, locking, and practical disk performance testing techniques.

File SystemI/OLinux
0 likes · 18 min read
Understanding Linux I/O: Storage Hierarchy, Page Cache, and Performance Considerations
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 20, 2020 · Fundamentals

Understanding Linux Processes, Threads, IPC, System Calls and Scheduling

This article provides a comprehensive overview of Linux fundamentals, covering process and thread concepts, various inter‑process communication mechanisms, essential system calls, process descriptors, scheduling algorithms such as O(1) and CFS, synchronization primitives, and the operating system boot sequence.

IPCLinuxOperating System
0 likes · 34 min read
Understanding Linux Processes, Threads, IPC, System Calls and Scheduling
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 12, 2020 · Fundamentals

Linux Kernel Virtual Memory Management: Process Virtual Address Space and Allocation

The article explains Linux kernel virtual memory management on 64‑bit ARM64 Android systems, detailing user‑ and kernel‑space address layout, physical vs. linear addresses, allocation mechanisms such as brk and mmap, common allocators, key structures like mm_struct and vm_area_struct, and the functions that control mmap layout and unmapped‑area selection.

ARM64ASLRKernel Internals
0 likes · 20 min read
Linux Kernel Virtual Memory Management: Process Virtual Address Space and Allocation
360 Tech Engineering
360 Tech Engineering
Nov 7, 2019 · Fundamentals

Understanding mmap: Concepts, Usage, and Typical Applications in Linux

This article explains the Linux mmap system call, covering virtual address space fundamentals, how mmap interacts with the page cache and inode structures, typical use‑cases such as shared memory and anonymous mappings, code examples, and special considerations like alignment, copy‑on‑write and memory swapping.

LinuxMMAPMemory Management
0 likes · 9 min read
Understanding mmap: Concepts, Usage, and Typical Applications in Linux
Refining Core Development Skills
Refining Core Development Skills
Nov 6, 2019 · Fundamentals

Understanding System Calls and Their Performance Impact

This article explores the concept of system calls in programming, their inherent overhead compared to function calls, and strategies to optimize their usage for improved code performance. It examines the mechanics of system calls, their role in interacting with the operating system kernel, and practical examples of measuring and reducing their impact on application efficiency.

kernel interactionperformance optimizationprogramming fundamentals
0 likes · 7 min read
Understanding System Calls and Their Performance Impact
360 Tech Engineering
360 Tech Engineering
Sep 28, 2018 · Fundamentals

Fundamentals of Application Programming: OS Concepts, System Calls, Processes, Threads, and Coroutines

This article introduces essential programming fundamentals, covering Unix system architecture, the distinction between system calls and library functions, user and kernel modes, the execution flow of a simple hello‑world program, and core concepts such as processes, threads, coroutines, and parent‑child process sharing.

Operating SystemProcessesThreads
0 likes · 7 min read
Fundamentals of Application Programming: OS Concepts, System Calls, Processes, Threads, and Coroutines
Hujiang Technology
Hujiang Technology
Sep 5, 2017 · Information Security

Understanding Android O seccomp Filters and Illegal System Calls

The article explains how Android O uses seccomp filters in the zygote process to block unused or dangerous system calls, how developers can detect and avoid illegal calls that cause crashes, and how to test or disable the filter on development builds.

Androidkernelseccomp
0 likes · 6 min read
Understanding Android O seccomp Filters and Illegal System Calls