more info about KLD

2004-02-16 Thread Bin Ren
Hi, I have two questions: (1) Is there any more detailed information regarding KLD in addition to the KDL facility programming in DaemonNews and in Architecture Book? (2) Can I turn an arbitrary piece of codes in kernel into a KLD? Say, the entire TCP/IP stack? Thanks a lot! -- Bin Ren

pin a subsystem to a CPU

2004-02-17 Thread Bin Ren
Hi, I'm thinking about whether it's possible and how to pin a subsystem of kernel, from a particular driver (such as software RAID) to TCP network stack, to a particular CPU. In other words, I have dual processors and how can I make one of the CPU JUST runs TCP stack so as to increase network

confusion about kse_create()

2004-03-08 Thread Bin Ren
Hi, After reading the MAN page and source codes for KSE, I find some parts contradicting. Maybe the MAN page is out-dated. But I want to confirm this. First confusion: In KSE MAN: ... To become multi-threaded, a process must first invoke kse_create(). The

ULE interactivity update

2004-03-09 Thread Bin Ren
Hi, in 'sys/kern/sched_ule.c', there is: static void sched_interact_update(struct ksegrp *kg) { int sum;

a serious error in sched_ule.c?

2004-03-09 Thread Bin Ren
Hi, all: I've been reading sched_ule.c and seem to find a serious error: in 'sched_slice()': * Rationale: * KSEs in interactive ksegs get the minimum slice so that we * quickly notice if it abuses its advantage. Then, there is: if (!SCHED_INTERACTIVE(kg)) {