<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>曲径通幽论坛 - 『Linux Kernel』</title>
    <link>http://www.groad.net/bbs/forum.php?mod=forumdisplay&amp;fid=69</link>
    <description>Latest 20 threads of 『Linux Kernel』</description>
    <copyright>Copyright(C) 曲径通幽论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Fri, 10 Apr 2026 20:18:53 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.groad.net/bbs/static/image/common/logo_88_31.gif</url>
      <title>曲径通幽论坛</title>
      <link>http://www.groad.net/bbs/</link>
    </image>
    <item>
      <title>Linux内核关系图</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=5934</link>
      <description><![CDATA[Linux Kernel Map]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Thu, 12 Jan 2012 09:20:46 +0000</pubDate>
    </item>
    <item>
      <title>傀儡引导扇区代码分析</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=4014</link>
      <description><![CDATA[在早期的 2.6 内核的 arch/i386/boot/ 目录下还可以看到 bootsect.S 这个文件，该文件可以生成傀儡引导扇区，现在之所以称之为”傀儡引导扇区“ 是因为该引导扇区不再具有引导功能。在还用它进行引导时，该扇区占据了内核镜像 bzImage 的前 512 字节，现在这段代码仅实 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Wed, 06 Jul 2011 12:17:29 +0000</pubDate>
    </item>
    <item>
      <title>Linux slab 分配器剖析</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=3546</link>
      <description><![CDATA[Linux slab 分配器剖析 -- 了解 Linux 内存管理的方式

本文作者：M. Tim Jones

简介： 
良好的操作系统性能部分依赖于操作系统有效管理资源的能力。在过去，堆内存管理器是实际的规范，但是其性能会受到内存碎片和内存回收需求的影响。现在，Linux&#174; 内核使用了源 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Thu, 19 May 2011 12:43:22 +0000</pubDate>
    </item>
    <item>
      <title>__read_mostly</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=3515</link>
      <description><![CDATA[比如在 cpu.c 中可以看到：

对于 x86 平台，这里的 __read_mostly 定义在 arch/x86/include/asm 中：
[mw_shl_code=cpp,true]#define __read_mostly __att ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Tue, 10 May 2011 01:03:11 +0000</pubDate>
    </item>
    <item>
      <title>内核编译相关文件</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=3400</link>
      <description><![CDATA[1. .config 文件
内核配置文件，由配置工具生成 .config 文件(如由 make menuconfig 设置后保存)。该文件由 CONFIG_XXX = Z 组成。其中 Z 有可能是以下值：
y : 将对应模块编译进内核m : 将对应模块编译成可加载模块空 : 不编译进内核数字或字符串 : 可以传递到内核代码 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Tue, 19 Apr 2011 04:51:48 +0000</pubDate>
    </item>
    <item>
      <title>sparse.txt 的中文翻译</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=3387</link>
      <description><![CDATA[Chinese translated version of Documentation/sparse.txt

If you have any comment or update to the content, please contact the
original document maintainer directly.&#160;&#160;However, if you have a problem
communicating in English you can also ask th ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Fri, 15 Apr 2011 09:15:03 +0000</pubDate>
    </item>
    <item>
      <title>jiffies 和 jiffies_64 的区别</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=3352</link>
      <description><![CDATA[在 Linux 内核中，jiffies 用于记录系统自启动到当前时刻系统时钟所产生的滴答数。 


每一秒系统时钟的中断次数等于 HZ 的值，比如一般的 PC 中 PC 的值定义为 1000，也就是说，一秒钟内系统要收到 1000 次的时钟中断；同样，jiffies 的值在一秒钟内增加 HZ 。 


系统 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Sat, 09 Apr 2011 09:49:59 +0000</pubDate>
    </item>
    <item>
      <title>等待队列中的双向链表建立分析</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=3181</link>
      <description><![CDATA[等待队列是一个双向链表。主要构成由是一个等待队列头和多个等待队列结构组成。


在内核中，add_wait_queue() 函数用于将一个等待进程添加到等待队列中，该函数定义为：

该函数在获得必要的自旋锁后，调用 __add_wait_queue() 函数来完成这道工作，__add_wait_queue() ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Fri, 04 Mar 2011 04:43:46 +0000</pubDate>
    </item>
    <item>
      <title>时间戳计数器 TSC</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=3134</link>
      <description><![CDATA[TSC 是时间戳计数器的缩写，它是 Pentium 兼容处理器中的一个计数器，它记录自启动以来处理器消耗的时钟周期数。在每个时钟到来时，该计数器自动加一。


因为 TSC 随着处理器周期速率的变化而变化，所以它提供了非常高的精确度。它经常被用来分析和检测代码。TSC 的值 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Sat, 19 Feb 2011 07:16:32 +0000</pubDate>
    </item>
    <item>
      <title>HZ 和 jiffies 变量</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=3056</link>
      <description><![CDATA[内核中有一个叫做 HZ 的频率变量，它表示每秒的时钟节拍数。一般的，在某种平台上它会有一个固定值，这个固定值是人为设定的，也就是可编程的(对系统定时器编程)。

设定 HZ 的大小需要权衡。这个值设大了，带来的好处是定时器间隔变小，从而使进程(任务)的调度的精确性 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Thu, 13 Jan 2011 14:34:13 +0000</pubDate>
    </item>
    <item>
      <title>header.S 中的 start_of_setup 跳转用法</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=3001</link>
      <description><![CDATA[在 arch/x86/boot/header.S 的 _start 开始处有这么一个用法：

实际上，这两个字节构成了一个跳转。这是一种硬编码用法。关于硬编码参考：http://www.groad.net/bbs/read.php?tid-3000.html

这里需要注意的是，在  .byte   start_of_setup-1f 中，1f 不是表示十六进制 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Fri, 24 Dec 2010 12:30:33 +0000</pubDate>
    </item>
    <item>
      <title>2.6 内核的 Kconfig</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=2418</link>
      <description><![CDATA[2.6 内核的源码树目录下一般会有两个文件： Kconfig 和 Makefile，如：/usr/src/linux/drivers/char/Kconfig 。分布在各个目录下的的 Kconfig 构成了一个分布式的内核配置数据库，每个Kconfig 分别描述了所属目录源文件相关的内核配置菜单。在内核配置 make menuconfig  ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Thu, 22 Jul 2010 09:48:05 +0000</pubDate>
    </item>
    <item>
      <title>/proc/sys 目录</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=1483</link>
      <description><![CDATA[注：本文涉及到的一些文件及目录适用于 RedHat 及 RedHat 的编译版如 CentOS 等系统，我的系统是 CentOS 5.4 。
&#160;
/proc/sys 目录比较特殊，与 /proc 下的其他目录也有很大的不同。因为他不仅能提供大量的系统信息还可以允许你对正在运行的内核进行一些配置与改动 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Fri, 25 Dec 2009 10:04:02 +0000</pubDate>
    </item>
    <item>
      <title>Spinlock编程(自旋锁)</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=1298</link>
      <description><![CDATA[本文转载
在 Linux Kernel 里有著许多重要的资料结构，这些资料在操作系统的运作中扮演著举足轻重的角色。然而，Linux是个多工的操作系统，也就是在同一时间里可以同时有许多的行程在执行，所以，很有可能某个行程在依序读取 inode list，同时却又有另一个在inode list  ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Mon, 26 Oct 2009 10:03:04 +0000</pubDate>
    </item>
    <item>
      <title>建立内核 API man 手册</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=1273</link>
      <description><![CDATA[内核里一个重要目录是 Documentation ，这里有许多关于内核接口函数等相关信息的说明。

如果希望把内核的一些接口函数编译为 man 文档，那么可以使用下面的命令：]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Sat, 17 Oct 2009 17:30:53 +0000</pubDate>
    </item>
    <item>
      <title>可移植性和数据类型</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=1102</link>
      <description><![CDATA[Linux 内核可以在多个平台上运行。为了确保平台上的可移植性，除了考虑平台之间的控制方式，还要明确变量的数据类型。

1、变量的数据类型
在 C 程序里，多数数据变量使用 int ，但是 int 型变量的大小依赖于平台。16 位微处理器中 int 型变量的大小为 2 字节，32 位微 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Sun, 30 Aug 2009 15:18:10 +0000</pubDate>
    </item>
    <item>
      <title>linux内核基本数据类型</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=1056</link>
      <description><![CDATA[typedef __kernel_uid_t&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; uid_t;
    typedef __kernel_gid_t&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; gid_t; 
    typedef __kernel_loff_t&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loff_t;
    ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Thu, 20 Aug 2009 08:22:56 +0000</pubDate>
    </item>
    <item>
      <title>Linux内核地址空间的布局</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=1028</link>
      <description><![CDATA[Linux内核地址空间的布局

1) Linux将整个4G线性地址空间分为用户空间和内核空间两部分,
而内核地址空间又被划分为\&quot;物理内存区\&quot;, \&quot;虚拟内存分配区\&quot;, \&quot;高端页面映射区\&quot;,
\&quot;专用页面映射区\&quot;, \&quot;系统保留映射区\&quot;几个区域. 

2) 在标准配置下, 物理区最大长度为896M, 系统的物 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Tue, 11 Aug 2009 16:51:40 +0000</pubDate>
    </item>
    <item>
      <title>proc 文件系统</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=991</link>
      <description><![CDATA[/proc 文件系统是一个伪文件系统，它是一种内核和模块用来向进程发送消息的机制。这个伪文件系统让用户可以和内核内部数据结构进行交互，获取有关进程的有用信息，在运行时通过，在运行时通过改变内核参数改变设置。与其他文件系统不同，/proc存在于内存之中而不是在硬 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Sun, 02 Aug 2009 15:00:16 +0000</pubDate>
    </item>
    <item>
      <title>几个重要的 linux 内核文件</title>
      <link>http://www.groad.net/bbs/forum.php?mod=viewthread&amp;tid=986</link>
      <description><![CDATA[在 /boot 目录下有诸如这样几个文件：


1、vmlinuz-2.6.29.3
vmlinuz 是可引导的、经过压缩的，可执行的内核。\&quot;vm\&quot; 是 \&quot;Virtual Memory\&quot; 之意。Linux 支持虚拟内存，能用硬盘空间作为虚拟内存，所以 \&quot;vm\&quot; 因此得名。vmlinuz 后面的 2.6.29.3 代表的是内核版本号。

建 ...]]></description>
      <category>『Linux Kernel』</category>
      <author>beyes</author>
      <pubDate>Sat, 01 Aug 2009 03:17:36 +0000</pubDate>
    </item>
  </channel>
</rss>