<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Operating System on Chen Kai Blog</title><link>https://www.chenk.top/en/tags/operating-system/</link><description>Recent content in Operating System on Chen Kai Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 07 Apr 2022 09:00:00 +0000</lastBuildDate><atom:link href="https://www.chenk.top/en/tags/operating-system/index.xml" rel="self" type="application/rss+xml"/><item><title>Operating System Fundamentals: A Deep Dive</title><link>https://www.chenk.top/en/standalone/operating-system-fundamentals-deep-dive/</link><pubDate>Thu, 07 Apr 2022 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/standalone/operating-system-fundamentals-deep-dive/</guid><description>&lt;p>Open a terminal and type &lt;code>cat hello.txt&lt;/code>. The instant you press Enter, at least seven layers of machinery wake up: bash parses the line, fork+execve launches the cat process, the kernel hands it a virtual address space, cat issues a &lt;code>read()&lt;/code> syscall, the CPU traps into kernel mode, VFS dispatches to ext4, the block layer queues an NVMe request, the SSD DMA-writes the bytes back, an interrupt wakes cat, the bytes are copied through the page cache into the user buffer, and finally something appears on your screen.&lt;/p></description></item></channel></rss>