随笔分类 - Linux
摘要:Pahole Poke-a-hole Poke-a-hole (pahole) is an object-file analysis tool to find the size of the data structures, and the holes caused due to aligning
阅读全文
摘要:VIM SNIPPET Universal Markdown Java C ## CPP Universal Trigger Explosion date YYYY-MM-DD ddate MM DD,YYYY diso ISO format datetime todo todo uuid rand
阅读全文
摘要:VIM Extended Functions 1. Table mode <prefix> + tm Toggle table mode enable/disable (:TableModeToggle) <prefix> + tr Align table (:TableModeRealign) <
阅读全文
摘要:Inert a shell command output :[n]r! command insert at nth line :r! command insert at current line Session mksession Oldfiles :browse oldfiles 光標垂直移動與定
阅读全文
摘要:内核线程 用户线程 轻量级进程LWP Linux下只有一种类型的进程,那就是task_struct, 进而linux也无线程概念, 只是将那些与其他进程共享资源的的进程称之为綫程. 一個進程由於其運行的空間的不同,從而分爲 内核綫程和用戶進程, 通過共享資源實現的一組進程我們稱之爲進程組. 内核綫程
阅读全文
摘要:x86物理地址空间 Linux 内核空间分为三个区域ZONE: ZONE_DMA, ZONE_NORMAL, ZONE_HIGHMEM 物理地址空间的顶部以下一段空间,被PCI设备的I/O内存映射占据,它们的大小和布局由PCI规范所决定。640K~1M这段地址空间被BIOS和VGA适配器所占据 由于
阅读全文
摘要:Kernel Debug in QEMU reference Environment List Utility Version QEMU 5.2.0 Kernel 5.11.9 Busybox 1.32.1 QEMU Installation (manual)### Download QEMU so
阅读全文
摘要:内核源码情景分析笔记 背景 1.1 x86寻址 1.2 C in Linux 1.3 Assembly in Linux 为什么要汇编 GNU 386汇编 存储管理 2.1 内存管理基本框架 2.2 地址映射全过程 2.3 常见数据结构 2.4 越界访问 2.5 用户堆栈的扩展 2.6 物理页的使用
阅读全文
摘要:Vagrant Preliminary Virtulbox Installed Vagrant Installed Vagrant command Init vagrant init [name] /*eg. vagrant init ubuntu/trusty64*/ This step will
阅读全文

浙公网安备 33010602011771号