随笔分类 - 【linux内核】
摘要:转自:https://www.cnblogs.com/chencesc/p/8655400.html 一.device tree中的写法 二. mailbox框架 (driver/mailbox/mailbox.c) struct mbox_controller { struct device *d
阅读全文
摘要:转自:https://blog.csdn.net/zhao2272062978/article/details/70600344?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.no
阅读全文
摘要:转自:https://blog.csdn.net/ongoingcre/article/details/50269869 From: 全面解析Linux 内核 3.10.x - 中断子系统前程往事,历历在目 - 佚名一、基本概念IPI 全称为Inter-Processor Interrupt,即处理
阅读全文
摘要:转自:https://blog.csdn.net/fishmai/article/details/99593954?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.noneca
阅读全文
摘要:转自:https://winddoing.github.io/post/60164.html IPI (Interrupt-Procecesorr Interrupt): 处理中间的中断 主要应用是一个处理器让另一个处理器做特定的事情(function 和 sched) + +-+system bo
阅读全文
摘要:转自:https://blog.csdn.net/ffmpeg4976/article/details/46941697 基本摘录自这个pdf http://www.ti.com/lit/an/spra818/spra818.pdf处理器其实不是为了互相通信设计的。但是目前在智能手机里面存在大量的核
阅读全文
摘要:转自:https://blog.csdn.net/qq_40788950/article/details/79478029?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonec
阅读全文
摘要:转自:https://blog.csdn.net/sweetfather/article/details/80006161 所谓共享内存就是使得多个进程可以访问同一块内存空间,是最快的可用IPC形式。是针对其他通信机制运行效率较低而设计的。往往与其它通信机制,如信号量结合使用,来达到进程间的同步及互
阅读全文
摘要:转自:https://blog.csdn.net/leoufung/article/details/50789592 ARM64 AP核MAILBOX地址的初始化和启动过程(Parking protocol) start_kernel-> setup_arch -> smp_init_cpus ->
阅读全文
摘要:转自:https://blog.csdn.net/u010961173/article/details/96422441 1 概述(1)mailbox是一种框架,通过消息队列和中断驱动信号处理多处理器间的通讯;(2)mailbox的实现分为contoller和client。简单的说就是client
阅读全文
摘要:转自:https://cloud.tencent.com/developer/article/1551288 共享单车、共享充电宝、共享雨伞,世间的共享有千万种,而我独爱共享内存。 早期的共享内存,着重于强调把同一片内存,map到多个进程的虚拟地址空间(在相应进程找到一个VMA区域),以便于CPU可
阅读全文
摘要:转自:https://blog.csdn.net/andyshrk/article/details/50864323 如何向Linux 内核提交补丁 对于对Linux kernel有兴趣的开发者来说,很多人都希望自己的代码能够出现在Linux kernel的官方代码中。 一般情况下 ,我们把Linu
阅读全文
摘要:转自:https://www.cnblogs.com/wahaha02/p/8034112.html 问题背景 最近boot中遇到个用户态程序的segment fault异常,除了一句“Segment fault”打印外无其他任何打印。该问题复现概率较低,定位起来比较棘手。我们的boot是个经过裁剪
阅读全文
摘要:转自:https://www.cnblogs.com/muahao/p/10109712.html Linux内核内存回收逻辑和算法(LRU) LRU 链表 在 Linux 中,操作系统对 LRU 的实现主要是基于一对双向链表:active 链表和 inactive 链表,这两个链表是 Linux
阅读全文
摘要:转自:https://blog.csdn.net/xiangyuqxq/article/details/11489975?utm_medium=distribute.pc_relevant_download.none-task-blog-BlogCommendFromBaidu-2.nonecase
阅读全文
摘要:转自:https://www.jianshu.com/p/c998a091628a linux 内核版本: 5.3.8 个人博客: https://www.letcos.top/ 1.模块相关指令 1.1 指令介绍 1.1.1 modinfo 功能:静态查看模块文件的基本信息,不需要安装到内核中即可
阅读全文
摘要:转自:https://blog.csdn.net/kezhen/article/details/14223343/ 转自:http://www.ibm.com/developerworks/cn/linux/l-cn-kernelmodules/ 简介: 为保持 Linux 内核的稳定与可持续发展,
阅读全文
摘要:转自:https://blog.csdn.net/gzxb1995/article/details/105407014?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.none
阅读全文
摘要:转自:https://blog.csdn.net/abc3240660/article/details/81484984?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.non
阅读全文
摘要:转自:https://www.cnblogs.com/hankfu/p/12970695.html 1. Linux的非对齐访问 Linux下,可以在设备树里保留一段内存,留给用户自己管理和使用,Linux保证不会使用保留内存。在使用中,有人发现,保留内存不能使用非对齐的方式访问。 经研究,如果在保
阅读全文