关于Unix/Linux内核编程的问题

发布于 2024-09-10 16:34:37 字数 361 浏览 5 评论 0原文

我想了解可扩展多处理器 (smps) 的 linux/Unix 内核编程。我找到了这本书 UNIX(R) Systems for Modern Architectures http://www.amazon。 com/UNIX-Systems-Modern-Architectures-Multiprocessing/dp/0201633388/ref=pd_rhf_p_t_3 。自 1994 年发行以来,还有其他好的资源或更好的书吗?提前非常感谢。

谢谢&问候,

老鼠。

I would like to learn about linux/Unix kernel programming for scalable multi processors (smps). I found this book UNIX(R) Systems for Modern Architectures http://www.amazon.com/UNIX-Systems-Modern-Architectures-Multiprocessing/dp/0201633388/ref=pd_rhf_p_t_3 . Is there any other good resources or a better book since its released in 1994. Thank you very much in advance.

Thanks & Regards,

Mousey.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

dawn曙光 2024-09-17 16:34:37

一定要买这本优秀的书!您将全面了解:

  • 缓存、它们的类型以及如何在内核中处理它们、
  • 同步以及其背后的硬件原语、
  • 通用内核与并发相关的设计(cli/sti、巨型锁、cli+spinlock等)

这本书足够通用现在还没有过时。我唯一不记得提到的是 NUMA,但我认为除了 Gorman 的 Linux memman 论文(如果我错了,请有人纠正我)。

我觉得这本书真的值这个钱。

Definitely buy this excellent book! You will get thorough introduction into:

  • caches, their types, and how to deal with them in the kernel,
  • synchronization and what hardware primitives are behind it,
  • general kernel designs as related to concurrency (cli/sti, giant lock, cli+spinlock, etc.)

The book is general enough not to be out of date by now. The only thing I don't remember mentioned there is NUMA, but I don't think there are any good published texts on this subjects yet except for maybe Gorman's Linux memman paper (somebody correct me if I'm wrong here).

I think the book was really worth the money.

冬天旳寂寞 2024-09-17 16:34:37

了解 Linux 内核 是一本关于如何构建 Linux 内核的好书,它描述了 Linux 2.2、2.4 和 2.6(第三版)。

如果你想制作驱动程序,可以参考 Linux Device Drivers ,它也是有关 Linux 的参考资料建造的。

Understanding the Linux Kernel is a great book about how the Linux kernel is built, it describes Linux 2.2, 2.4 and 2.6 (Third Edition).

If you want to make drivers, there's Linux Device Drivers , and is also a reference about how Linux is built.

因为看清所以看轻 2024-09-17 16:34:37

对于 Linux,Rusty 的不可靠内核锁定指南是一本必读的书。之后,您还可以阅读位于 Linux 内核源代码中的 Documentation/spinlocks.txt 文件。

For Linux, Rusty's Unreliable Guide to Kernel Locking is a must-read. After that, you can also read the file Documentation/spinlocks.txt located in the Linux kernel sources.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文