LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   memory page sharing (https://www.linuxquestions.org/questions/linux-newbie-8/memory-page-sharing-4175470451/)

shivaaa 07-22-2013 01:15 AM

memory page sharing
 
I am working in memory deduplication. I want to change ksm.c in linux kernel. I have generated patch also. what are all the steps needed to bring this (changes effect) into the kernel?

flyinggeorge 07-23-2013 11:46 PM

I don't really know anything about this, but you say you have a patch? You can use the patch command to patch the *.c file assuming that is what the patch is for. Then you should be able to re-compile the kernel. I'm pretty sure that's how it would be done. Do you have any more specific information about what you are trying to accomplish? I don't know anything about memory duplication but someone else might be able to help if you give some more info.

Use 'man patch' for more information.

eklavya 07-24-2013 12:29 AM

Take a look at this.
https://www.kernel.org/doc/Documentation/vm/ksm.txt

I hope it will help.


All times are GMT -5. The time now is 10:31 AM.