Kernel

共 257 篇文章。

Matthew Dillon's opinion on FreeBSD's Networking Subsystem

• Kernel

To quote his “I would recommend against per-thread caches. Instead, make the per-cpu caches actually *be* per-cpu (that is, not require a mutex).”

Then, he has pointed out that there is potential problems in FreeBSD’s SLAB allocator which is different from DragonFly’s. (Not too surprisingly, he is again advertising his IPI message approach).

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

Enter the great FreeBSD 5.3!

• Kernel

Today obrien@ has committed a somewhat determintic code to distinguish FreeBSD RELENG_5 from 5.2-CURRENT to 5.3-BETA:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
obrien      2004-08-23 03:28:01 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/sys              param.h 
    contrib/gcc/config   freebsd-spec.h 
  Log:
  Enter the great FreeBSD 5.3!
  
  Approved by:    re(kensmith)
  
  Revision   Changes    Path
  1.17.2.1   +2 -2      src/contrib/gcc/config/freebsd-spec.h
  1.209.2.1  +1 -1      src/sys/sys/param.h
阅读全文… ( 本文约 78 字,阅读大致需要 1 分钟 )

ps(1) patch for FreeBSD 6-CURRENT

• Kernel

I have finished a preliminary patchset based on Pawel’s (kern/54604), which will make ps -e usable under FreeBSD’s recent versions, without having procfs mounted.

My patchset has introduced reduced security IMO (due to my merge and rooted from recent removal of ps_argsopen sysctl, I’m not sure why this change has been taken place) so I will have to review the code more carefully. Maybe I need to introduce more sysctl?

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

FreeBSD 5-STABLE branched

• Kernel

Now we have RELENG_5 branched, and HEAD is now 6.0-CURRENT.

delphijfork will be a mixture of RELENG_5 and HEAD for recent days. I will build a RELENG_5’ifyed version so the code is fresh enough for RELENG_5.

参与评论

Code freeze for FreeBSD 5-STABLE

• Development

今天 FreeBSD 的 src tree 正式为 5-STABLE 冻结!

Robert Watson很仗义(这个词,嘿嘿)地在 code freeze 之前的最后一刻 commit 了我的 patch。这一变动将使得未来 5/6 MFC 变得容易,同时,也让 DragonFly 和 FreeBSD 的 diff 变得更小。

参与评论

RELENG_5 will be tagged soon

• Development

激动人心的时刻即将来临。FreeBSD RELENG_5将于8月16日(自然,如果不出意外的情况下)建立。今天FreeBSD.org做了一个惊人的举动——将www.FreeBSD.org升级为5.x版本,这是Yahoo!以及FreeBSD.org对于RELENG_5的一项重大支持。

FreeBSD 5-STABLE的Release Engineering将是一个曲折而漫长的过程。这个过程的成败将直接影响接下来至少半年之内FreeBSD的命运。目前,FreeBSD 5-CURRENT在被命名为5-STABLE之前所需要经历的洗礼包括:

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

Is this a problem?

• Kernel

While reading the snapshot code in FFS Soft Updates’s FreeBSD implementation, I got a question about the following code:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
		/*
		 * If there is a fragment, clear it here.
		 */
		blkno = 0;
		loc = howmany(xp->i_size, fs->fs_bsize) - 1;
		if (loc < NDADDR) {
			__len = fragroundup(fs, blkoff(fs, xp->i\_size));__
			if (len < fs->fs_bsize) {
				ffs_blkfree(copy_fs, vp, DIP(xp, i_db[loc]),
				    len, xp->i_number);
				blkno = DIP(xp, i_db[loc]);
				DIP_SET(xp, i_db[loc], 0);
			}
		}
阅读全文… ( 本文约 141 字,阅读大致需要 1 分钟 )