FreeBSD 7.2-RELEASE 在前幾天順利放出來了,正式的公告在「FreeBSD 7.2-RELEASE Announcement」這裡可以看到,與 FreeBSD 7.1 主要的差異在「FreeBSD 7.2-RELEASE Release Notes」可以查到。

對我最主要的差異應該是 amd64 平台上 kernel virtual address space 拉高到 6GB,用 FreeBSD ZFS 不需要再調整 vm 參數了,預設的大小就夠用。

不過,大概是太準時的關係,libc 有個蠻嚴重的 bug 沒有在 release 前被找到:(參考「FreeBSD 7.2-RELEASE Errata」)

[20090504] A lock handling error has been found in interaction between malloc(3) implementation and threading library. When a multi-threaded process calls the fork(2) system call in a thread and the malloc(3) function in another thread, it can cause a deadlock in the child process. An Errata Notice to fix this problem is planned after the release.

當一個 thread 在 fork(),另一個在 malloc(),產生出來的 child process 會 deadlock...

不曉得會不會如同 delphij & lwhsu 講的,出 7.2.1-RELEASE 修正這個 bug...

Leave a Reply

Your email address will not be published. Required fields are marked *