linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Cox <apc@agelectronics.co.uk>
To: LinuxPPC-Dev <linuxppc-dev@lists.linuxppc.org>
Subject: Zero Pages / Cache Coherency
Date: Fri, 27 Aug 1999 10:52:48 +0100	[thread overview]
Message-ID: <37C65FF0.A5FBD535@agelectronics.co.uk> (raw)


I'm currently trying out the pre-zeroing of pages in the idle task, and
I'm a little worried about its effect on cache-coherency. I can't prove
to
my satisfaction that none of the pages being cleared by zero_paged() is
in the cache, and I'm not sure that turning off caching in the PTE will
have any effect on cache lines already allocated in L1 or L2.

Obviously, any incoherency would be extremely rare, but ensuring that
the page is invalidated from the caches before it is zeroed has the
added bonus of removing the need for a flush_page_to_ram() in my
modified anonymous memory allocator.

Any comments? 

- Adrian Cox, AG Electronics

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

             reply	other threads:[~1999-08-27  9:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-27  9:52 Adrian Cox [this message]
1999-08-29 20:28 ` Zero Pages / Cache Coherency Michel Lanners
1999-08-30 20:08   ` Geert Uytterhoeven

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=37C65FF0.A5FBD535@agelectronics.co.uk \
    --to=apc@agelectronics.co.uk \
    --cc=linuxppc-dev@lists.linuxppc.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).