linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* modify the cache-inhibit and guard bits from userspace?
@ 2005-11-15 21:16 Christopher Friesen
  2005-11-15 22:38 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Friesen @ 2005-11-15 21:16 UTC (permalink / raw)
  To: linuxppc64-dev, linuxppc-embedded


We're running a dual-970 blade, based on a modified 2.6.10.

We have an application that does lots of random data fetches over a 
fairly large data set (a few GB) contained entirely in RAM, and the 
performance guys think that we may be spending time in unnecessary 
hardware prefetches and would like me to provide them a mechanism to 
individually specify the cache-inhibited and guard bits from userspace 
so that they can try to fine-tune their performance.

What's the most logical way for me to do this?  Do I extend mprotect() 
to support additional flags?

Has anyone done this before?  I didn't find anything in google. 
Currently the guard bit seems to only be used for ioremap() and in 
__pci_mmap_set_pgprot() if the memory doesn't support write combining.

Thanks,

Chris

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

end of thread, other threads:[~2005-11-15 23:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 21:16 modify the cache-inhibit and guard bits from userspace? Christopher Friesen
2005-11-15 22:38 ` Arnd Bergmann
2005-11-15 23:15   ` Christopher Friesen

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