Re: Linking with kernel code (Makefile)

2000-12-11 Thread Jean Fekry Rizk
The character device is a good idea!!! But how would the device's mmap be implemented? I know how the read and write work, but they copy the data from one space to another, which would be slow if there is much communication. Because this looses the benifits of shared memory About the kernel linki

Re: Linking with kernel code (Makefile)

2000-12-11 Thread Jean Fekry Rizk
Thanks for your advice, I already know one way to accomodate shared memory between a user process and the kernel. This is done by making a character device which allocates memory in the kernel, then from the user appl, using the mmap function of the driver. I was only wondering why I could not l