Kernel

共216篇文章。

KSE成为内核选项

Kernel

今天,John Birrell同学commit了一个不大不小的patchset——将KSE变为内核选项。具体说来,在-CURRENT上,KSE不再是一个必选项了。

KSE是FreeBSD 5.0-CURRENT时的一个非常重要的技术探索,它是对由华盛顿大学Thomas E. Anderson等人提出的调度器激活概念的一个实现。

对于M:N线程来说,调度器激活是一项十分先进的概念。在这个模型中,内核并不需要了解用户态线程的细节,而用户态线程也并不是由内核直接调度,相反,这些线程被绑定到一系列「调度实体」上,内核能够看到这些调度实体,并在上下文切换时激活用户态的线程调度器。由于减少了内核-用户态的上下文切换操作,因此理论上这一模型能够获得更好的性能。

阅读全文…:KSE成为内核选项(本文约1040字,阅读大致需要3分钟)

ULE returned to its "experimental" state

Kernel

An internal discussion happened in -developers@ has finally decided that we put ULE scheduler back to the “experimental” state, in order to reduce the number of reports about crashes and other bad things for it.

Currently the fact that ULE is not being actively maintained is the cause of this change. We hope that we can find someone who has interest on it. Additionally, it is worthy to have a look at David Xu’s new “CORE” scheduler (a ULE fork, using Linux’s algorithm).

阅读全文…:ULE returned to its "experimental" state(本文约102字,阅读大致需要1分钟)

Awesome work, Matt!

Kernel

To quote Matthew Dillon:

While I hope to avoid any destabilization, I am fiddling with some pretty hairy code in the VM system so this is a head’s up!I have successfully implemented a basic MAP_VPAGETABLE feature that allows a mmap()’d section of memory to be governed by a virtual page table. Basically the backing store for the mmap()’d space is the ‘physical memory’ used to map the space, and the mapping of the space is then governed by a ‘page table’ stored in that physical memory.(It is only physical memory from the point of view of the virtual kernel, not the real kernel of course). The mapping will store a physical page directory offset to tell the VM system where the page table is.

阅读全文…:Awesome work, Matt!(本文约348字,阅读大致需要2分钟)

今天的uname -a

Kernel
[delphij@tarsier] ~> uname -a
FreeBSD tarsier.delphij.net 6.1-RELEASE FreeBSD 6.1-RELEASE #31: Sun May 7
00:55:05 CST 2006 delphij@tarsier.delphij.net:/usr/obj/usr/src/sys/TARSIER i386

希望很快就能正式公告了。

参与评论:今天的uname -a
搜索文章…(按ESC退出)