* Joy Ganguly <[EMAIL PROTECTED]> [000517 09:41] wrote:
> 
> hi all, 
> 
> i have written a special ioctl which writes data into a file from a buffer in
> kernel memory. it invokes fo->fo_write() and involves one copy from kernel
> mem
> to disk cache. however this takes substantially more time than an ordinary
> write which copies from user space to the disk cache. any explanations??? 

What are you using for your kernel to kernel copy?

(copyin and friends are hand optimized for great speed when copying
from/to userspace)


-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to