Re: user malloc from kernel
From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 09/29/03
- Previous message: earthman: "user malloc from kernel"
- In reply to: earthman: "user malloc from kernel"
- Next in thread: Pawel Jakub Dawidek: "Re: user malloc from kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: earthman <earthman@inbox.ru> Date: Mon, 29 Sep 2003 16:37:17 +0200
In message <811112091.20030929172247@inbox.ru>, earthman writes:
>hi
>
>
>how to allocate some memory chunk
>in user space memory from kernel code?
>how to do it correctly?
You shouldn't and it would be very trick to do right if at all.
Try to tell us what you're trying to do and maybe we can find
a better way to do that ?
-- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ 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: earthman: "user malloc from kernel"
- In reply to: earthman: "user malloc from kernel"
- Next in thread: Pawel Jakub Dawidek: "Re: user malloc from kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: kernel module and dynamic memory allocation
... In Linux you should also be carefull about memory allocation in kernel mode.
... easier to sucessfully allocate small amounts as memory gets fragmented. ...
access user space memory, which may result in page faults. ... (comp.os.linux.development.system) - Re: user malloc from kernel
... +> how to allocate some memory chunk ... +> in user space memory
from kernel code? ... Here you got sample kernel module which do this: ...
(freebsd-hackers) - user malloc from kernel
... in user space memory from kernel code? ... icq: 145680330 ...
To unsubscribe, ... (freebsd-hackers)