kernel(9)
-
[FreeBSD] Kernel Tracing Facilities, DTrace and KTR
3.8 Kernel Tracing FacilitiesOperating-system kernels are large and complex pieces of software, encompassing thousands of lines of mainly C code, organized into dozens of subsystems and including hundreds of device drivers. Understanding what is happening within the operating system while it is running is important not only to developers of the code but also to the much larger group of people wh..
2024.07.16 -
[FreeBSD] Resource Services
3.7 Resource ServicesAll systems have limits imposed by their hardware architecture and configuration to ensure reasonable operation and to keep users from accidentally (or maliciously) creating resource shortages. (오오.. 모든 시스템은 한계를 가진다 by 안정성)At a minimum, the hardware limits must be imposed on processes that run on the system. It is usually desirable to limit processes further, below these har..
2024.07.15 -
[FreeBSD] System Calls
3.2 System CallsThe most frequent trap into the kernel (after clock processing) is a request to do a system call. System performance requires that the kernel minimize the overhead in fielding and dispatching a system call. The system-call handler must do the following work:Verify that the parameters to the system call are located at a valid user address, and copy them from the user’s address spa..
2024.07.10 -
[FreeBSD] Kernel Organization
3.1 Kernel OrganizationThe FreeBSD kernel can be viewed as a service provider to user processes. Processes usually access these services through system calls. Some services, such as process scheduling and memory management, are implemented as processes that execute in kernel mode or as routines that execute periodically within the kernel.In this chapter, we describe how kernel services are provi..
2024.07.09 -
[FreeBSD] Devices
2.8 DevicesHistorically, the device interface was static and simple. Devices were discovered as the system was booted and did not change thereafter. A typical disk driver could be written in a few hundred lines of code. As the system has evolved, the complexity of the I/O system has increased, with the addition of new functionality. Devices may appear and later disappear while the system is runn..
2024.06.29 -
[FreeBSD] Memory Management
2.6 Memory ManagementEach process has its own private address space. The address space is initially divided into three logical segments: text, data, and stack. The text segment is read-only and contains the machine instructions of a program. The data and stack segments are both readable and writable. The data segment contains the initialized and uninitialized data portions of a program, whereas ..
2024.06.25 -
[FreeBSD] Kernel Services and Process Management
Kernel Services The boundary between the kernel- and user-level code is enforced by hardware-protection facilities provided by the underlying hardware. The kernel operates in a separate address space that is inaccessible to user processes. Privileged operations—such as starting I/O and halting the central processing unit (CPU)—are available to only the kernel. Applications request services from ..
2024.05.01 -
[FreeBSD] Design Overview of FreeBSD
The kernel 커널이란? The kernel is the part of the system that runs in protected mode and mediates access by all user programs to the underlying hardware (e.g., CPU, keyboard, monitor, disks, network links) and software constructs (e.g., filesystem, network protocols). The kernel provides the basic system facilities; it creates and manages processes and provides functions to access the filesyste..
2024.04.13 -
[Paper reading] Dataset Condensation with Distribution Matching
Dataset Condensation with Distribution Matching Abstraction Computational cost of training state-of-the-art deep models in many learning problems is rapidly increasing due to more sophisticated models and larger datasets. A recent promising direction for reducing training cost is dataset condensation that aims to replace the original large training set with a significantly smaller learned synthe..
2023.10.01