FreeBSD ported to ARM architecture

| Kernel

Olivier Houchard (cognet) has just committed several files to support the ARM architecture. I have already slipped tags for this change.

参与评论

打算用技术暂时麻醉一下自己

| Diary Excerpt

我知道这不是办法,但即使不是办法,有时候也只能这么做,因为两害相权取其轻。一次噩梦中,我声嘶力竭地大喊,「Stop! Stop!」,可是就是停不下来……面无表情的司机,面无表情的乘客,令人目眩的速度,冲向无底的深渊,但之后想想,死掉的不是我一个人,与其如此绝望地去面对死亡,倒不妨去欣赏一下那眩目的美。

有时候觉得自己是一个极端主义者,呵呵,我很庆幸自己不是。有时候有一些geeky的想法,但还好,并不是每个做法都geeky,至少,不是大多说做法都geeky。很多事情换个看法会好许多。

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

Matthew Dillon's most recent VM work

| Kernel

From the commit log:

Close an interrupt race between vm_page_lookup() and (typically) a vm_page_sleep_busy() check by using the correct spl protection. An interrupt can occur inbetween the two operations and unbusy/free the page in question, causing the busy check to fail and for the code to fall through and then operate on a page that may have been freed and possibly even reused. Also note that vm_page_grab() had the same issue between the lookup, busy check, and vm_page_busy() call.

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

传说中的「猴年马月」即将到来~

| Shared Chaos

来自车东Blog上的这篇

不知道是谁人的发明,用「猴年马月」来泛指不知道哪年哪月,或者泛指遥遥无期。其实猴年马月的周期性虽然未必都很整齐,但基本上是有规律的。猴年是12年一个轮回,马月也是12个月一个论回,所以凡是猴年,必有一个月是马月,比如与2004年大体相应的猴年(甲申年),其马月(庚午月)就是农历5月份,就是从公历2004年6月18日开始到7月16日结束,由于这一猴年的农历5月份是小月,只有29天,所以今年的马月比较短。

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

gcc bug??

| Development

发现VC上面偶尔会用到的const_cast在gcc (c++)里面竟然不能用,郁闷,遂采用C-style cast,但我希望修正这个问题。

参与评论

动感地带

| Shared Chaos

有个学生爬墙出校,被校长抓到。
校长问他为什么不从校门走,他说:美特斯邦威,不走寻常路。
校长又问他这么高的墙怎么翻过去啊?他指了指裤子说:李宁,一切皆有可能。
校长又问他翻墙是什么感觉?他指了指鞋子说:特步,飞一般的感觉。

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

GD终于可以make了!!

| Distributed Computing

绕过liu8han的maintainership commit了无数次之后,终于让GD可以make了,哈哈哈哈~~~

从今天起谁导致无法make就请客!

参与评论

写一个Makefile不难,但写好一个Makefile可就不那么容易了……

| Development

以前觉得Ruslan Ermilov (ru at FreeBSD dot org, mdoc(7) maintainer)一般只是commit一些Makefile,在整个project里面不过是一个做简单maintain工作的角色,真到自己动手写Makefile的时候才发现,想把Makefile写好可真是太难了。

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

Still alive :-)

| Life

For those who concerned about my absence here last night: I’m still alive, just tired and got to sleep early. Don’t worry about me, I am healthy and is having a good emotion :-)

参与评论

Planning to merge several DragonFly and NetBSD fixes

| Life

I am thinking of the possiblity of backporting / porting several DragonFly and NetBSD, even OpenBSD’s features, to FreeBSD, to increase its performance, stablity, and the code readablity.

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