随笔分类 -  Linux内核

摘要:介绍内核RCU的实现机制。 阅读全文
posted @ 2017-11-11 22:36 CobbLiu 阅读(3235) 评论(0) 推荐(0) 编辑
摘要:Maybe virtual memory over commit is prevented in your system. If it is prevented, then the virtual memory can not be bigger than sizeof physical RAM + 阅读全文
posted @ 2017-08-11 15:24 CobbLiu 阅读(787) 评论(0) 推荐(0) 编辑
摘要:All modern processors use page-based mechanisms to translate the user-space processes virtual addresses into physical addresses for RAM. The pages are commonly 4KB in size and the processor can hold a limited number of virtual-to-physical address mappings in the Translation Lookaside Buffers (TLB). The number TLB entries ranges from tens to hundreds of mappings. This limits a processor to a fewmegabytes of memory it can address without changing the TLB entries. When a virtual-to-physical address 阅读全文
posted @ 2017-03-22 15:06 CobbLiu 阅读(554) 评论(0) 推荐(0) 编辑
摘要:/proc/PID contains information about one process, this blog lists the detailed content. 阅读全文
posted @ 2016-08-07 10:24 CobbLiu 阅读(2534) 评论(0) 推荐(0) 编辑
摘要:This subdirectory contains specific file system, file handle, inode, dentry and quota information. 阅读全文
posted @ 2016-08-06 18:34 CobbLiu 阅读(1588) 评论(1) 推荐(0) 编辑
摘要:阅读内核源码中sys_rename系统调用实现过程中的一些简单的笔记。 阅读全文
posted @ 2016-08-06 14:41 CobbLiu 阅读(5469) 评论(0) 推荐(0) 编辑
摘要:最近我们的服务进程遇到kill -15后处于Z的状态,变为了僵尸进程,经过/proc/{thread_id}/stack查看其上线程的栈,发现是卡在了fwrite的过程中,而我们的系统中所有文件系统挂载参数都使用了delalloc参数,怀疑是这个原因:ext4挂载的时候打开了delalloc选项,然 阅读全文
posted @ 2016-06-21 14:16 CobbLiu 阅读(4530) 评论(1) 推荐(1) 编辑
摘要:详细地介绍了 Linux 2.6 内核中新的锁机制 RCU(Read-Copy Update) 的实现机制,使用要求与典型应用。从2.5.62内核开始,VFS中的dcache使用了RCU做读写同步。 阅读全文
posted @ 2015-10-17 21:03 CobbLiu 阅读(4485) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示