LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-22-2013, 01:15 AM   #1
shivaaa
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-23-2013, 11:46 PM   #2
flyinggeorge
Member
 
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, 12:29 AM   #3
eklavya
Member
 
Registered: Mar 2013
Posts: 636

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

I hope it will help.
 
  


Reply



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 08:31 AM
Is it possible to map PCI memory to a page? dbrazeau Linux - Kernel 7 12-12-2011 02:23 PM
Sharing a page accross multiple skbs pradeepg Linux - Kernel 4 04-06-2011 02:24 PM
Memory Page Scanning and Reclaim/Memory Management ilfantomas Linux - Kernel 1 03-02-2010 08:31 PM
Memory Page Protections Damaged Soul Programming 2 07-11-2005 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:44 AM.

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