随笔分类 - Linux内核
摘要: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 +
阅读全文
摘要:aka the title.
阅读全文
摘要: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
阅读全文
摘要:/proc/PID contains information about one process, this blog lists the detailed content.
阅读全文
摘要:This subdirectory contains specific file system, file handle, inode, dentry and quota information.
阅读全文
摘要:阅读内核源码中sys_rename系统调用实现过程中的一些简单的笔记。
阅读全文
摘要:最近我们的服务进程遇到kill -15后处于Z的状态,变为了僵尸进程,经过/proc/{thread_id}/stack查看其上线程的栈,发现是卡在了fwrite的过程中,而我们的系统中所有文件系统挂载参数都使用了delalloc参数,怀疑是这个原因:ext4挂载的时候打开了delalloc选项,然
阅读全文
摘要:详细地介绍了 Linux 2.6 内核中新的锁机制 RCU(Read-Copy Update) 的实现机制,使用要求与典型应用。从2.5.62内核开始,VFS中的dcache使用了RCU做读写同步。
阅读全文