Messages in this thread | | | Date | Tue, 5 Feb 2013 17:14:58 +0530 | Subject | Outdated mbuff driver- update to the latest kernel | From | anish singh <> |
| |
Hello Tomasz,
I have gone through mbuff driver while looking for this question:how to share large amount of memory between kernel and user space?
Currently we can do that by mmaping /dev/mem and /dev/zero but I am looking for something more simpler(/dev/zero and /dev/mem is using shmem.c- right now I don't want to dig it) and I think mbuff is what I was looking for.
I would like to update the mbuff driver to make it work for the latest kernel as it is using many deprecated api's.
Is there any place from where I can pick up the latest version of this driver?
I plan to setup this mbuff driver code in github.
In your mbuff implementation you are using vmalloced memory but I plan to use get_free_pages just to get used to using get_free_pages :)
I am sure that this kind of mmaping is already done in current kernel but this whole exercise is aimed at understanding it better by actually going through the problems while implementing.
Hope it makes sense!! anish
| |