This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Storing specified variables in the same memory page!
- From: energon <energon0 at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Cc: Vinay <vinaymr_02 at yahoo dot co dot in>, Sriharsha Vedurmudi <sriharsha dot v at redpinesignals dot com>
- Date: Wed, 13 Oct 2004 01:51:19 -0700 (PDT)
- Subject: Re: Storing specified variables in the same memory page!
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