Using userland library in Kernel

2007-08-08 Thread Biks N
Hi, I am new to FreeBSD kernel programming and I am trying to use userland library (zlib) in FreeBSD kernel. But I am not sure if zlib library is linkable from the kernel. I would really appreciate if someone can point me to right direction. I am using 6.2-RELEASE. thanks Biks _

powerd feature proposal...(and a small problem)

2007-08-08 Thread Evren Yurtesen
Hi, The problem is with an 8 processor system. If a process is not threaded and starts using 100% cpu time of a single processor, the system still shows over 80% idle. Whereas this single process works really slow if the system is already at the slowest speed. Is there a simple way to fix this

Re: Using userland library in Kernel

2007-08-08 Thread Craig Boston
On Wed, Aug 08, 2007 at 11:23:25AM -0500, Biks N wrote: > I am new to FreeBSD kernel programming and I am trying to use userland > library (zlib) in FreeBSD kernel. But I am not sure if zlib library is > linkable from the kernel. Normally, no, you can't just link in a library designed for userland

Re: Using userland library in Kernel

2007-08-08 Thread Dan Nelson
In the last episode (Aug 08), Biks N said: > I am new to FreeBSD kernel programming and I am trying to use > userland library (zlib) in FreeBSD kernel. But I am not sure if zlib > library is linkable from the kernel. It isn't. However, there is a zlib implementation in the kernel already. It's h

Re: powerd feature proposal...(and a small problem)

2007-08-08 Thread George Hartzell
Evren Yurtesen writes: > Hi, > > The problem is with an 8 processor system. If a process is not threaded and > starts using 100% cpu time of a single processor, the system still shows > over > 80% idle. Whereas this single process works really slow if the system is > already > at the

Re: powerd feature proposal...(and a small problem)

2007-08-08 Thread Evren Yurtesen
George Hartzell wrote: Evren Yurtesen writes: > Hi, > > The problem is with an 8 processor system. If a process is not threaded and > starts using 100% cpu time of a single processor, the system still shows over > 80% idle. Whereas this single process works really slow if the system is al