Re: Copy data from kernel to user space memory

From: Dag-Erling Smørgrav (des_at_des.no)
Date: 09/24/04

  • Next message: Mike Meyer: "Re: execute a user process in the kernel"
    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"
    

  • Next message: Mike Meyer: "Re: execute a user process in the kernel"

    Relevant Pages