Someone Blog

wiki & blog

Vuepress Blog V2
My blog using vuepress theme hope.
链接名称
链接详细描述
书籍名称
书籍详细描述
文章名称
文章详细描述
伙伴名称
伙伴详细介绍
自定义项目
自定义详细介绍
Blog Update Plan

博客更新计划

该文档主要阐明后续的博客重点更新方向:

主题 进度 备注
《二分》 规划中 二分查找、二分搜索,算法、理论与应用
《DFS、BFS》 编写中 总结DFS、BFS的通用思路,题解举例
《动态规划》 规划中 总结从递归到动态规划、题解

Someone小于 1 分钟Projectsblog
页面配置

more 注释之前的内容被视为文章摘要。


Ms.Hope大约 1 分钟使用指南页面配置使用指南
Research on Binder

Overview

kernel 侧实现:kernel/linux-5.10/drivers/android/binder.c

IPC 通信

binder 相比于传统的 IPC 通信拥有比较大的优势:其只需要进行一次拷贝。IPC 通信的原理大致如下:

mmap 技术

mmap(), 或者称之为内存映射技术,是实现 binder 的重要技术之一。

mmap() 可以将一个文件、一段物理内存或者其他对象映射到进程的虚拟地址空间。在内存映射技术中,操作系统会为每个映射的文件或设备创建一个虚拟地址空间,然后将该虚拟地址空间中的每个地址都映射到文件或设备的实际物理地址上。


Someone大约 1 分钟AndroidkernelAndroid
Idle

Abstract

首先对于 Idle 是什么,我知之甚少,所以采用提出疑惑、回答问题的方式先进行行文,进行入门。

cpuidle_idle_call

cpuidle_idle_call is a function in the Linux kernel that is responsible for putting the CPU into an idle state when there is no work to do. The function is part of the CPU idle subsystem, which is designed to reduce power consumption by putting the CPU into low-power states when it is not in use.

When the cpuidle_idle_call function is called, the CPU idle governor selects the most appropriate idle state based on the current system workload and the capabilities of the CPU. The CPU is then put into the selected idle state, which reduces its power consumption while still allowing it to quickly resume normal operation when needed.

The cpuidle_idle_call function is called by the kernel scheduler when there is no work to do, and it is one of the key components of the Linux kernel's power management system. By efficiently managing CPU power consumption, the kernel can reduce energy usage and extend the battery life of mobile devices.


weigao大约 29 分钟Kernel
Algorithm

Algorithm

这个模块主要是研究算法和数据结构。


Someone小于 1 分钟
Linux and C

Linux and C

Why?

把 linux 和 C 归类在一起,是因为我觉得研究这两者是密不可分的,所以希望自己不要只专注于语言,更加应该去了解应用等。

如果以后这个栏目数量太多了,可以考虑拆分出去。

Linux

标题 链接 备注
Thermal link 主要介绍 Thermal 框架的原理、源码分析
BL31 link 主要介绍 bootloader 的过程、重点研究 BL3-1
init.h link 主要分析 Linux 源码 init.h 相关的逻辑和设计理念

Someone小于 1 分钟
Architecture

Architecture

本栏目主要是总结计算机体系结构中的一些知识点。


Someone小于 1 分钟
Python

Python

Python’s simplicity lets you become productive quickly, but this often means you aren’t using everything it has to offer. With this hands-on guide, you’ll learn how to write effective, idiomatic Python code by leveraging its best—and possibly most neglected—features. Author Luciano Ramalho takes you through Python’s core language features and libraries, and shows you how to make your code shorter, faster, and more readable at the same time.


Someone大约 1 分钟
2
3
4
5
...
15