* Using PAT features from user space @ 2009-09-13 1:20 Alessandro Pignotti 2009-09-24 3:40 ` pei lin 0 siblings, 1 reply; 2+ messages in thread From: Alessandro Pignotti @ 2009-09-13 1:20 UTC (permalink / raw) To: linux-c-programming Hi everyone, I'm writing an high performance application on x86-64 that allocate some memory to store a write only journal. I was wondering if there is a way to ask the kernel to mark such pages as write combining memory. More in general, it's possible to use PAT from userspace? I was expecting some mmap flag like MAP_NOCACHE, but there not seems to be any such flags. Regards, Alessandro ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Using PAT features from user space 2009-09-13 1:20 Using PAT features from user space Alessandro Pignotti @ 2009-09-24 3:40 ` pei lin 0 siblings, 0 replies; 2+ messages in thread From: pei lin @ 2009-09-24 3:40 UTC (permalink / raw) To: Alessandro Pignotti; +Cc: linux-c-programming http://www.mjmwired.net/kernel/Documentation/x86/pat.txt http://www.mjmwired.net/kernel/Documentation/x86/mtrr.txt hope this can give u some clues. Best Regards Lin 2009/9/13 Alessandro Pignotti <alexpigna.dev@gmail.com>: > Hi everyone, > > I'm writing an high performance application on x86-64 that allocate > some memory to store a write only journal. I was wondering if there is > a way to ask the kernel to mark such pages as write combining memory. > More in general, it's possible to use PAT from userspace? I was > expecting some mmap flag like MAP_NOCACHE, but there not seems to be > any such flags. > > Regards, > Alessandro > -- > To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-24 3:40 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-09-13 1:20 Using PAT features from user space Alessandro Pignotti 2009-09-24 3:40 ` pei lin
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).