In <[EMAIL PROTECTED]>,
Nicolas Cormier <[EMAIL PROTECTED]> wrote:
>On 7/4/07, Robert Watson <[EMAIL PROTECTED]> wrote:
>>
>> When operating in a system call, the 'td' argument to the system call
>> function
>> is the current thread pointer. You can follow td->td_proc to get to the
>> current p
On 7/4/07, Steve Watt <[EMAIL PROTECTED]> wrote:
In <[EMAIL PROTECTED]>,
Nicolas Cormier <[EMAIL PROTECTED]> wrote:
>On 7/4/07, Robert Watson <[EMAIL PROTECTED]> wrote:
>>
>> When operating in a system call, the 'td' argument to the system call
function
>> is the current thread pointer. You c
On 7/4/07, Robert Watson <[EMAIL PROTECTED]> wrote:
What do you mean by a network allocator? How do you plan to use these pages?
First I just want to access a local copy of a distant buffer.
After the goal is to share memory between hosts (no concurrent access).
If you haven't already, you s
On Wed, 4 Jul 2007, Nicolas Cormier wrote:
Currently I'm just trying to play with kernel/modules/vm ... I'm a newbie in
kernel development and I just want to make a little prototype of an
in-kernel network allocator. To start I only need to map a page (1024 bytes)
from kernel to user process.
On 7/4/07, Robert Watson <[EMAIL PROTECTED]> wrote:
How much memory are we talking about -- enough to potentially run into kernel
address space problems on 32-bit systems? How long will the mappings persist
-- do you map them into kernel for a brief period to fill them, and then leave
them mappe
On Wed, 4 Jul 2007, Nicolas Cormier wrote:
On 7/4/07, Robert Watson <[EMAIL PROTECTED]> wrote:
On Mon, 2 Jul 2007, Nicolas Cormier wrote:
I am trying to map some data allocated in kernel to a user process (via a
syscall). I need the proc's vmspace, but the value of p_vmspace of the
input p
On 7/4/07, Robert Watson <[EMAIL PROTECTED]> wrote:
On Mon, 2 Jul 2007, Nicolas Cormier wrote:
> I am trying to map some data allocated in kernel to a user process (via a
> syscall). I need the proc's vmspace, but the value of p_vmspace of the input
> proc argument is NULL ... How can I get a v
On Mon, 2 Jul 2007, Nicolas Cormier wrote:
I am trying to map some data allocated in kernel to a user process (via a
syscall). I need the proc's vmspace, but the value of p_vmspace of the input
proc argument is NULL ... How can I get a valid vmspace ?
When operating in a system call, the 'td
> Ok, syscall function passed a proc* as arguments, I don't know where
this does not make any sense... userland processes have no way to
determine where a proc is stored...
what exactly are you trying to achieve?
___
freebsd-hackers@freebsd.org mailing
On 7/2/07, Nicolas Cormier <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to map some data allocated in kernel to a user process
(via a syscall).
I need the proc's vmspace, but the value of p_vmspace of the input
proc argument is NULL ...
How can I get a valid vmspace ?
Thanks !
Ok, syscall functi
Hi,
I am trying to map some data allocated in kernel to a user process
(via a syscall).
I need the proc's vmspace, but the value of p_vmspace of the input
proc argument is NULL ...
How can I get a valid vmspace ?
Thanks !
--
Nicolas Cormier
___
freebsd-
11 matches
Mail list logo