Kernel

共 215 篇文章。

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.

参与评论

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 分钟 )

Disabled Native Preemption on beastie

• Kernel

I have decided to disable it as a workaround of the recent instablity of beastie, whose console I can’t easily touched. junsu has suggested this workaround and it seems to work :-(

I will install a local copy of delphijfork and figure out why it is stalling.

参与评论

delphijfork 20040714

• Kernel

As usual, it is available at ftp.freebsdchina.org/pub/china_ports/delphijfork.

This snapshot should be much more stable than previous one.

参与评论

DragonFly to have 1.0-RELEASE

• Kernel

Howard has set up a mirror for ISO.

Forked from FreeBSD 4-STABLE at a post-4.8 point, DragonFly is an excellent operating system adopting a different way 5-CURRENT has taken. Also, it was said to have the fastest TCP/IP stack in the world (With Jeffrey Hsu’s efforts, of course ;-) ).

参与评论