Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-22-2013, 02:15 AM   #1
LQ Newbie
Registered: Jul 2013
Posts: 1

Rep: Reputation: Disabled
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?
Old 07-24-2013, 12:46 AM   #2
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Rep: Reputation: 3
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.
Old 07-24-2013, 01:29 AM   #3
Registered: Mar 2013
Posts: 622

Rep: Reputation: 136Reputation: 136
Take a look at this.

I hope it will help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
memory page swapping DKSL Programming 7 05-08-2012 09:31 AM
Is it possible to map PCI memory to a page? dbrazeau Linux - Kernel 7 12-12-2011 03:23 PM
Sharing a page accross multiple skbs pradeepg Linux - Kernel 4 04-06-2011 03:24 PM
Memory Page Scanning and Reclaim/Memory Management ilfantomas Linux - Kernel 1 03-02-2010 09:31 PM
Memory Page Protections Damaged Soul Programming 2 07-11-2005 07:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration