Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 12:52:32 +0200
From:      Niels Heinen <niels.heinen@gmail.com>
To:        Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Copy data from kernel to user space memory
Message-ID:  <dea572790409230352698960d3@mail.gmail.com>
In-Reply-To: <20040923101953.GA463@pm514-9.comsys.ntu-kpi.kiev.ua>
References:  <dea572790409230238858640@mail.gmail.com> <20040923101953.GA463@pm514-9.comsys.ntu-kpi.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I'm not sure that you get some performance with this method, usually
> an application allocates memory, makes syscall and tells how many bytes
> the kernel (the module) can store in this memory.  But I don't see
> the complete picture, so may be you can't use this standard approach.
> 

Thats the way I have implemented it now. But because the application
(test.c ;p ) doesn't know the packet size its currently using too 
large memory buffers.

Thanks for the info, I'll have a look at those function !

Niels



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dea572790409230352698960d3>