[okl4-developer] Memory allocation

Harry Vennik htvennik at zonnet.nl
Fri Sep 28 16:36:33 EST 2007


It seems to me you'd rather want to have a user-level server thread  
to generate the data. Such stuff generally doesn't belong in the  
microkernel.
In fact one may say that if you think you need to alter the  
microkernel for anything to work, you need to reconsider your idea.  
(The latest public release of OKL4 has still some limitations, so  
changes may be needed sometimes.)

Harry


Op 28-sep-2007, om 8:01 heeft Peter Nguyen het volgende geschreven:

> Hi,
>
> I'm wanting to generate data that is shared between the kernel and  
> user
> space. In this particular situation, the purpose here is to generate
> sampling data whilst in the kernel that is then read by user  
> threads to
> process this sampling data.  More specifically, i want to be able to
> generate data and store this in a linked list whilst in the kernel  
> (ie.
> i want the kernel to generate this data as well as the linked list
> itself).  At the same time, i would like this data to be readable in
> user space (ie. to process this data).  I'm wondering whether i am  
> able
> to allocate memory in the kernel for this and if so, how?
>
> Peter
>
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer




More information about the Developer mailing list