Development
Get preliminary ptmalloc to work on FreeBSD
Will it provide better performance? Interested but not tested.
参与评论RELENG_6 soon
Scott Long has warned that RELENG_6 would be branched soon. At this point, most part of FreeBSD-CURRENT is considered to be “stable” while some of the drivers and ULE scheduler is still under revamp. Once all bugs found gets fixed we will release 6.0.
HEAD will be soft frozen until 6.0-RELEASE. I will begin to integrate some of minor changes there.
参与评论FreeBSD 6.0 July snapshot will be released soon
Looking forward to it. Only 1 week left to RELENG_6!
参与评论The ULE issue
Now I got (partially) the point:
- A newly fork’ed thread grabs Giant
 - Subsequently, the mutex procedure will call turnstile_wait
 - However, the td->td_sched->ke_runq is NULL (means that some part of the new thread is not initialized completely)
 - So boom! panic.
 
Interestingly this does not happen in !PREEMPTION case.
Now my question are:
- who forks?
 - is it the child? the parent?
 - why the initialization is not completed with a wrong result?
 
cvs skill to minimize lock period
Today Giorgos Keramidas (keramida@) has noted that the following skill that can minimize lock period:
- save the commit message to a file (say ~/commitlog)
 - cvs ci -F ~/commitlog file[…]
 
Eric Raymond 鼓吹 BSD 授权……
Murray老大在FreeBSD.org发的一则消息,说……Eric Raymond在巴西举行的FISL (Fórum Internacional de Software Livre,国际软件发布论坛)中提到,“Basically, we don’t need GPL. It’s based on the belief that open source software is weak and needs to be protected. With it, we continue injuring ourselves, cutting ourselves from the economic benefits of BSD license”(基本上,我们并不需要GPL。它是基于认为开源软件非常弱小因而需要保护而产生的。由于它(GPL),我们在不断伤害我们自己,并将我们与BSD授权在经济上的优点割裂开来)。
参与评论gcc 3.4.4 imported into FreeBSD base
kan         2005-06-03 03:29:21 UTC
  FreeBSD src repository
  src/contrib/gcc - Imported sources
  Update of /home/ncvs/src/contrib/gcc
  In directory repoman.freebsd.org:/tmp/cvs-serv9201
  Log Message:
  Gcc 3.4.4 release.
  Status:
  Vendor Tag:	FSF
  Release Tags:	gcc_3_4_4_20050518How to determine whether a number is 2^[INTEGER]?
I have an idea: let we have “a” is the number to determine.
return ( (0 == (a & (a-1))) && (a > 0))
Despite the style of the code, is there some better solution? Note that a is a native integer type (say, int, long, long long, etc).
参与评论Max帅哥真是一个勤奋的家伙
一个人主导一个相当规模的*BSD项目,而且是那种关系到国计民生的——make(1)!估计再过一段时间他就能彻底统一*BSD上的make(1)了(也称为「pmake」。)
阅读全文…窝窝头翻身——现一大眼
So I finally got a big pointyhat…
This is the point:
if (!_ioctl(fd, FIODGNAME, &fgn))
So this means SUCCEEDED and the return value should be used. However, my recent commit has reverted the logic so that will fail. Seems sshd(1) don’t like this…
Fixed now.
参与评论