Solved

Shared memory

Posted on 2006-06-16
3
211 Views
Last Modified: 2013-12-16
Hello!
How can i shared memory with system? i have aa command in my application and i want to shared memory for this command with system?
Thanks
0
Comment
Question by:Aida2
3 Comments
 
LVL 22

Accepted Solution

by:
pjedmond earned 40 total points
ID: 16918896
My advice on this, is don't worry about it! Let the operating system take care of it! The memory that you are using will get swapped to disc if the operating system needs more, and the memory that you have asked for is not being actively used.

Sharing memory with the system?.....That has potential for all sorts of problems, unless your programming is 100% perfect......but as you seem to be really keen on this, the easiest way is possibly through 'modules'? Have a look here for a kernel programming:

http://www.tldp.org/LDP/lkmpg/

and choose your kernel version:)
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now