From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Paul Mackerras <paulus@samba.org>
Cc: Albert Cahalan <acahalan@gmail.com>,
linuxppc-dev@ozlabs.org,
debian-powerpc <debian-powerpc@lists.debian.org>
Subject: Re: [PATCH] no-execute -- please test
Date: Thu, 17 Aug 2006 01:55:31 +0200 [thread overview]
Message-ID: <1155772532.11312.121.camel@localhost.localdomain> (raw)
In-Reply-To: <17633.2179.582261.162544@cargo.ozlabs.ibm.com>
> We have a bit per page that says if the page is icache dirty or not.
> On machines with no-execute support, we already avoid flushing the
> page until some process first tries to execute from it. If we
> extended that to this scheme, when we made a segment executable, we
> would have to find and flush all icache-dirty pages in the segment (up
> to 65536 pages). We wouldn't want to do that every time we made a
> segment executable - it would need to be optimized (e.g. keep a count
> per segment of icache-dirty pages in the segment).
Note that we need to change the icache flush mecanism anyway as it's
always been racy on ppc32 SMP (though very few people noticed so far :)
and ppc64 SMP with < POWER3 CPUs (without N bit).
Ben.
next prev parent reply other threads:[~2006-08-16 23:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-14 3:20 [PATCH] no-execute -- please test Albert Cahalan
2006-08-14 4:00 ` Paul Mackerras
2006-08-14 4:41 ` Albert Cahalan
2006-08-14 23:34 ` Paul Mackerras
2006-08-16 23:55 ` Benjamin Herrenschmidt [this message]
2006-08-20 17:48 ` Albert Cahalan
2006-08-14 4:02 ` Paul Mackerras
2006-08-14 4:33 ` Albert Cahalan
2006-08-14 8:46 ` Andreas Schwab
2006-08-14 9:19 ` Michel Dänzer
2006-08-14 16:02 ` Albert Cahalan
2006-08-14 16:08 ` Albert Cahalan
2006-08-14 16:20 ` Michel Dänzer
2006-08-19 3:47 ` Albert Cahalan
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=1155772532.11312.121.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=acahalan@gmail.com \
--cc=debian-powerpc@lists.debian.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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 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 NNTP newsgroup(s).