Using PAT features from user space

Alessandro Pignotti <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.