*Nix and Win32 Kernel

Is this a problem?

| *nix and Win32 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 分钟 )

FreeBSD have TLS now!

| *nix and Win32 Kernel

TLS(Thread Local Storage) is a vital part of thread support. Now FreeBSD have it, too!

参与评论

Disabled Native Preemption on beastie

| *nix and Win32 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

| *nix and Win32 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

| *nix and Win32 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 ;-) ).

参与评论

Why hell there is livelock in idlepoll?

| *nix and Win32 Kernel

I have a preliminary discussion with junsu and we are still confused with the idlepoll livelock issue.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_poll.c

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

DragonFlyBSD 1.0-RC

| *nix and Win32 Kernel

Matt Dillon has released the RC today. You can download the RC here:

http://www.dragonflybsd.org/main/download.cgi
ftp://ftp.dragonflybsd.org/iso-images/dfly-1.0RC1.iso.gz

Matt said that he will also announce this on FreeBSD list.

参与评论

gdb 6.1.1 imported into FreeBSD-base!

| *nix and Win32 Kernel

marcel has finally imported gdb into FreeBSD-base. Now we can debug kernels again.

参与评论

OpenBSD to have SMP in HEAD!

| *nix and Win32 Kernel

niklas has committed the final SMP branch code, no more SMP branchs, we have SMP in OpenBSD-CURRENT now!!

参与评论

RFC 3522 implementation and Early Retransmission

| *nix and Win32 Kernel

I have posted it as rev. 1.5 of <research.delphij.net/freebsd/rfc3522.diff>. Some minor comestic changes has gone into the patchset, as junsu pointed out. I’ll remove the unrelated ones soon.

参与评论