Re: Storing specified variables in the same memory page!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, you can define a struct with the necessary variable types and
allocate some shared memory and map the struct into the shared memory.

Typically, shared memory is allocated in size of page size chunks.
So, if your data set size does not span the memory page size, you'll
have your data in one page.

Do you need to avoid your data from being paged out of the RAM?


=====
-energon0


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux