Solved

Shared memory

Posted on 2006-06-16
3
214 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

914 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

19 Experts available now in Live!

Get 1:1 Help Now