Solved

Shared memory

Posted on 2006-06-16
3
226 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 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