From: Doctor Bill <docbill@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] const / static (against current CVS)
Date: Wed, 24 Aug 2005 12:49:58 -0400 [thread overview]
Message-ID: <23bcb8700508240949740cb763@mail.gmail.com> (raw)
In-Reply-To: <200508241549.04816.paul@codesourcery.com>
On Wed, Aug 24, 2005 at 02:41:44PM +0100, Paul Brook wrote:
> > Probably more important is to make sure none constant data structures
> > are done on the stack. There is no good reason why any code page
> > should be read-write.
>
> Huh? this is nonsense.
I stand corrected, I ment to say on the stack or in the heap. ie. I
was only refering within the scope of the original post. The point is
you don't want self modifing code. In rare circumstances you need
self modifing code, but it is very rare. While it possible to mark
allocated pages as read only, this usually only done for runtime error
detection and sometimes thread saftey. Pretty much all modern
operating systems do copy on write. However, this is completely
beyond the scope of our discussion.
Bill
next prev parent reply other threads:[~2005-08-24 17:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-23 17:40 [Qemu-devel] [PATCH] const / static (against current CVS) Andreas Mohr
2005-08-24 3:24 ` Mulyadi Santosa
2005-08-24 12:54 ` Doctor Bill
2005-08-24 13:41 ` Paul Brook
2005-08-24 14:38 ` Andreas Mohr
2005-08-24 14:49 ` Paul Brook
2005-08-24 16:49 ` Doctor Bill [this message]
2005-08-24 20:35 ` Jamie Lokier
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=23bcb8700508240949740cb763@mail.gmail.com \
--to=docbill@gmail.com \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.