linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alessandro Pignotti <alexpigna.dev@gmail.com>
To: linux-c-programming@vger.kernel.org
Subject: Using PAT features from user space
Date: Sat, 12 Sep 2009 18:20:52 -0700	[thread overview]
Message-ID: <95b4a97b0909121820m2c912878t6b7cbff7f4fbacd6@mail.gmail.com> (raw)

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

             reply	other threads:[~2009-09-13  1:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-13  1:20 Alessandro Pignotti [this message]
2009-09-24  3:40 ` Using PAT features from user space pei lin

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=95b4a97b0909121820m2c912878t6b7cbff7f4fbacd6@mail.gmail.com \
    --to=alexpigna.dev@gmail.com \
    --cc=linux-c-programming@vger.kernel.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).