Karthikeyan N wrote: > Hi, > > > > I have written a memory manager library (C code) which allocates memory > from heap using OS call and manages the memory for the application that > uses this library. > > Now I want to make this a kernel module such that multiple applications > can use it for memory management. > > > > Should the memory manager be made as a loadable kernel module for > multiple applications to use it? > > > > As I understand, the virtual address seen by each of the application is > different for the same physical memory. (Is this understanding right??). > How do I give the correct virtual address to the application that calls > this memory manager for memory allocation?
Kathy- Your questions are not the usual thing we get on this list, which is advertised as a "Friendly list for people new to Linux". Perhaps you intended to ask at the Linux Kernel Newbies site http://kernelnewbies.org/ They have forums there, and probably lists, as well. As well as documentation links that I'm sure would be helpful. Or perhaps you need to talk to the real experts at the lkml. http://lkml.org/ I do guess that the first reply you might get back is what are you trying to do, a school project? or something generally useful? If it's a school thing, you might want to look at some of the references on kernel programming first. If the latter, then they will likely ask what do you have in mind that is new or better than facilities already in the kernel? You may also want to check out the Linux Memory Management site http://linux-mm.org/ I believe kernel trap is another place to browse and lurk http://kerneltrap.org/ Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie
