Hi,
> However, I suggest another way. Pre allocate a chunk of memory, then > via interface such as /proc, pass the address to the related kernel > function. Let your kernel function acknowledge this address and pass > information to it. the problem is that i do not know the size of data chunk before i ask kernel to fill it. >
Ask the size in a separate read call? Thanks, Rajat -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ