Of course it's possible to take everything into kernel, but that might
not a good idea since you can also easily crash the whole system and
pose serious security issues because kernel trust everything that is
considered to be a part of it.

FreeBSD has provided many interfaces that may help out your problem.
You may want to take a look at kqueue(2), sendfile(2), accept_filter(9),
etc., and consider switching your application model from one to another.
Another thing you may have interest is the ktrace/kdump mechanism, as
well as ktr that can reveal what exactly the problem is.
Please don't hesitate to submit your patch / suggestion to PR system or
appropriate maillist if you think there is some *REAL* problem, as that
will help the development. 

å 2005-01-18äç 11:45 +0100ï- Felix -åéï
> Hi everyone,
> 
> Doing lot of syscalls interrupts in a soft seems to take quite a long time, 
> and seriously slow performances. As far as you can't reduce the syscall 
> amount, is there any way to run apps in kernel mode, in order to call 
> sysfonctions directly ? Perhaps by re-writing softs in kernel modules ? 
> 
> thanks for your time.

Cheers,
-- 
Xin LI <delphij delphij net>  http://www.delphij.net/

Attachment: signature.asc
Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8?= =?UTF-8?Q?=E5=88=86?=

Reply via email to