LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 02-16-2012, 11:13 AM   #1
alphy
LQ Newbie
 
Registered: Nov 2006
Posts: 16

Rep: Reputation: 0
Question Share glibc between Host process and a process within Linux Container


Hi All,

Normally kernel takes care of sharing common pages between processes, to conserve memory usage. glibc would be an example of this.

Now,
1) How does the kernel know, that it is a common page between two processes.
-- Is it based on the inode of the .so?
-- Does the kernel compute a HASH to check for common pages?

2) Is this same concept applicable for a host process & a Process within a Linux Container.
-- Since Container would have its own rootfs, the inode entry for .so of glibc would be different from the host.

Any pointers to this would be helpful.
Thanks in advance for the help.

-Alphonse
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
killng parent process without killing child process (Linux C programming) lettuce84@naver.com Linux - Newbie 3 07-24-2015 08:37 AM
Linux command to get Process name & Process executable path ArunChacko Fedora 2 08-26-2011 11:09 AM
Finding the Process ID of a Process While Initiating the Process senthilmuthiah Linux - Newbie 7 04-02-2009 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 09:43 PM.

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