Linux Power Management (1) – Overall Architecture

Linux Power Management (1) - Overall Architecture

This is a study note, original text: https://mp.weixin.qq.com/s/6GFHt6JY1eyz85k6xZtCVA 1. Introduction In this world, the operation of any system requires energy. Just as trees grow by relying on light energy, horses run by relying on food, and computer systems operate by relying on electrical energy. However, acquiring energy comes at a cost, so if we can … Read more

Shocking! Modifying Linux Kernel Code Can Reduce Data Center Energy Consumption by 30%!

Shocking! Modifying Linux Kernel Code Can Reduce Data Center Energy Consumption by 30%!

As global energy consumption in data centers continues to rise, finding ways to reduce energy consumption while meeting the increasing demand for computing power has become an urgent issue. Recently, researchers from the University of Waterloo in Canada proposed an innovative solution: by modifying approximately 30 lines of code in the Linux kernel’s network stack, … Read more

Linux USB Audio Driver Vulnerability Exploited by Malicious USB Devices in the Wild

Linux USB Audio Driver Vulnerability Exploited by Malicious USB Devices in the Wild

A critical vulnerability exists in the USB audio driver of the Linux kernel that may lead to out-of-bounds memory reads. This vulnerability has been patched by Takashi Iwai from SUSE. If an attacker gains physical access to the system, they can exploit malicious USB devices to achieve privilege escalation, tamper with system memory, or execute … Read more

In-Depth Analysis of Linux Kernel Workqueues: Mechanisms, Scheduling, and Performance

In-Depth Analysis of Linux Kernel Workqueues: Mechanisms, Scheduling, and Performance

Click the blue text to follow us The workqueue is an important asynchronous execution mechanism in the Linux kernel, widely used in driver development, post-interrupt processing, and delayed processing scenarios. This article will systematically analyze this mechanism in terms of its usage, scheduling principles, and performance characteristics. 01 Introduction to Workqueues In kernel development, certain … Read more

Writing a Book on Linux Kernel Principles is No Easy Task

Writing a Book on Linux Kernel Principles is No Easy Task

Hello everyone, I am Bug Jun~ In most people’s impression, writing a technical book is just about organizing what you know. However, when the subject is the Linux kernel, it becomes like performing ballet on a tightrope — one of the most complex open-source software in the world, a giant system composed of 28 million … Read more

New Version of Raspberry Pi OS Released: Supports Linux Kernel 6.1 LTS

New Version of Raspberry Pi OS Released: Supports Linux Kernel 6.1 LTS

Source: IT Home Author: Xiao Gongzi The Raspberry Pi Foundation has released a new version of the official Raspberry Pi OS for Raspberry Pi computers, featuring updated components, bug fixes, and various performance improvements. The most significant change in Raspberry Pi OS 2023-05-03 is the kernel upgrade from the long-term supported Linux 5.15 LTS to … Read more

Understanding the Low-Level Implementation of Atomic Operations in the Linux Kernel (armv8-aarch64)

Understanding the Low-Level Implementation of Atomic Operations in the Linux Kernel (armv8-aarch64)

Typically, a line of code like<span><span>a = a + 1</span></span> translates into three assembly instructions: ldr x0, &aadd x0,x0,#1str x0,&a That is, (1) read the variable a from memory into the X0 register, (2) add 1 to the X0 register, (3) write the value of X0 back to memory a. Since there are three instructions, … Read more

Insights into Linux Character Device Drivers

Insights into Linux Character Device Drivers

Hello, I am Lao Wu, continuing to document my learning insights. 1. Tips for Staying Focused Do the most important tasks in the morning. Stay in a distraction-free environment, such as a library. It’s completely normal to feel a bit of negativity before you start working. Make “happy moments” a part of your plan. Have … Read more

Comic Analysis: What Does the Linux Kernel Look Like?

Comic Analysis: What Does the Linux Kernel Look Like?

(Click the blue text above to quickly follow us) Source: Linux China / bestony https://linux.cn/article-8290-1.html If you have good articles to submit, please click → here for details Today, I will interpret a comic from TurnOff.us titled “InSide The Linux Kernel“. TurnOff.us is a geek comic website where the author Daniel Stori has drawn some … Read more

Linux USB Audio Driver Vulnerability Exploited by Malicious USB Devices in the Wild

Linux USB Audio Driver Vulnerability Exploited by Malicious USB Devices in the Wild

A critical vulnerability exists in the USB audio driver of the Linux kernel that may lead to out-of-bounds memory reads. This vulnerability has been patched by Takashi Iwai from SUSE. If an attacker gains physical access to the system, they can exploit malicious USB devices to escalate privileges, tamper with system memory, or execute arbitrary … Read more