public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: energon <energon0@yahoo.com>
To: gcc-help@gcc.gnu.org
Cc: Vinay <vinaymr_02@yahoo.co.in>,
	Sriharsha Vedurmudi <sriharsha.v@redpinesignals.com>
Subject: Re: Storing specified variables in the same memory page!
Date: Wed, 13 Oct 2004 08:51:00 -0000	[thread overview]
Message-ID: <20041013085119.5721.qmail@web40508.mail.yahoo.com> (raw)
In-Reply-To: <20041011160251.31022.qmail@web8501.mail.in.yahoo.com>


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

  reply	other threads:[~2004-10-13  8:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-11 15:53 Vinay
2004-10-11 15:57 ` Sriharsha Vedurmudi
2004-10-11 16:08   ` Vinay
2004-10-13  8:51     ` energon [this message]
2004-10-13 18:49       ` (Question reframed)Storing " Vinay
2004-10-13 18:59         ` Eljay Love-Jensen
2004-10-14  5:13         ` Sriharsha Vedurmudi
2004-10-15 13:29           ` energon
2004-10-11 16:17 Storing " lrtaylor
2004-10-11 18:27 ` Virender Kashyap
2004-10-11 18:31   ` Eljay Love-Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041013085119.5721.qmail@web40508.mail.yahoo.com \
    --to=energon0@yahoo.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=sriharsha.v@redpinesignals.com \
    --cc=vinaymr_02@yahoo.co.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).