DragonFlyBSD

Userland Threading

Submitted by eirik
on September 5, 2004 - 8:36am

Now that my syscall messages are starting to stabilize I am going to start looking into what the best way to implement a new userland threading system for DragonFly.
This will probably take some time since I am entirely new in this area. If anyone that have worked on this area of an operating system before have some links for me, or tips for some good books to read I would be very thankfull.

KTR

Submitted by eirik
on September 5, 2004 - 7:48am

I am almost finished porting KTR from FreeBSD (who took it from BSD/OS).

KTR stands for kernel trace routines and are macors placed in the source code for later debuging, there will be no performance impact when KTR is disabled since they then all the CTR macros will be defined as nothing.

To see the information KTR has gathered you can go into the debugger and type 'show ktr', and if you have KTR_VERBOSE=1 in your kernel config it will also be printed to /dev/console.

Me, myself and DragonFly

Submitted by eirik
on June 28, 2004 - 8:34am

This is more DragonFly BSD related than it is related to me, but there is no DragonFly post in the "Journals" section (yet).

I finally got that little push needed to clean up my patch for KTR yesterday. You can have a look at it yourself here: http://eirikn.kerneled.org/dragonfly/ktr.patch
This is a port of the version in FreeBSD -CURRENT with some moderations, I have among other things remov