FreeBSD

共 688 篇文章。

ULE+SMP+PREEMPTION fixed, finally!

• Kernel

David Xu’s two recent commits against -HEAD has finally fixed ULE on SMP, PREEMPTION and FULL_PREEMPTION case. Both his and my stress tests has proven that ULE is now rock solid again.

Now we will focus on solving other issues. Please be sure to test our next 6-STABLE snapshot and provide feedback, so we can make a great 6.0-RELEASE!

参与评论

AMD64 string function optimizations

• Development

So time comes that we should consider whether some of our string operations is not optimial and needs some operation. NetBSD seems to have done a lot of good work to make their MD layer better, and we should take these improvements if they are proven.

David O’Brien has pointed out that we should be careful on this, however, since some micro optimizations may hinder performance in a large scenario. With this concern in mind, I will redo some more benchmarks and request for -arch@’s idea before considering commiting the patchset. Currently, the NetBSD implementation of swab(2) is proven to be slower than the GCC generated code by about 25%. I will look into the assembly code generated to see whether I can help to solve this.

阅读全文… ( 本文约 160 字,阅读大致需要 1 分钟 )

ULE+PREEMPTION fixed on 7-CURRENT

• Kernel

Finally we got ULE fixed! After some observation about stability this would definately be MFC’ed to RELENG_[56].

UPDATE: This is proven incomplete. We are still under investigation.

UPDATE: A subsequent commit of David Xu has finally got it fixed.

参与评论

一个新的panic

• Kernel

今天的测试过程中发现了一个新的panic:

panic: mpt_get_request: corrupted request free list (ccb)

这个panic似乎与swap的消耗有关,初步定为为LSI SCSI卡驱动的问题。port 7上面的mpt驱动中。

阅读全文… ( 本文约 94 字,阅读大致需要 1 分钟 )

我最反感的四类找抽贴

• Life

第一种:请XXX(某ID)回答!

最讨厌这种帖子,你不是我们家亲戚,不是漂亮MM,不是我老板,论坛上还有那么多人,凭什么指名点姓要求我来回答?论坛上的其他人都不会?可能吗?同时侮辱了论坛上所有的人(包括我),所以当然不回答(即使回答,一般也要等到两三天以后)。

阅读全文… ( 本文约 533 字,阅读大致需要 2 分钟 )

BSD授权的自我保护

• Development

以前一直觉得BSD授权在某些污染型伪自由软件授权面前显得很被动——似乎他们可以任意地剽窃代码而阻止代码以BSD授权发布——然而仔细读来,BSD其实是一个有自我保护能力的授权,它的第一条条款:

阅读全文… ( 本文约 384 字,阅读大致需要 1 分钟 )