Re: Copy data from kernel to user space memory
From: Dag-Erling Smørgrav (des_at_des.no)
Date: 09/24/04
- Previous message: Jeremie Le Hen: "Re: STRIP in /usr/share/mk/"
- In reply to: Niels Heinen: "Copy data from kernel to user space memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Niels Heinen <niels.heinen@gmail.com> Date: Fri, 24 Sep 2004 12:04:06 +0200
Niels Heinen <niels.heinen@gmail.com> writes:
> The module buffers packets and currently copies it into user memory
> when its system call interface is used. At the moment my user space
> application is the one that allocates the memory. I want the memory
> to be allocated by the module in order to make things more efficient.
You can't do that. The kernel allocates address space, not memory.
It is up to the application to manage its address space as it sees
fit.
DES
-- Dag-Erling Smørgrav - des@des.no _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Jeremie Le Hen: "Re: STRIP in /usr/share/mk/"
- In reply to: Niels Heinen: "Copy data from kernel to user space memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|