linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Zero Pages / Cache Coherency
@ 1999-08-27  9:52 Adrian Cox
  1999-08-29 20:28 ` Michel Lanners
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Cox @ 1999-08-27  9:52 UTC (permalink / raw)
  To: LinuxPPC-Dev


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.   ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-08-30 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-27  9:52 Zero Pages / Cache Coherency Adrian Cox
1999-08-29 20:28 ` Michel Lanners
1999-08-30 20:08   ` Geert Uytterhoeven

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).