From: pei lin <telent998@gmail.com>
To: Alessandro Pignotti <alexpigna.dev@gmail.com>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Using PAT features from user space
Date: Thu, 24 Sep 2009 11:40:37 +0800 [thread overview]
Message-ID: <d6b7c4190909232040w29650j1199f5f4eafd67bd@mail.gmail.com> (raw)
In-Reply-To: <95b4a97b0909121820m2c912878t6b7cbff7f4fbacd6@mail.gmail.com>
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
>
prev parent reply other threads:[~2009-09-24 3:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-13 1:20 Using PAT features from user space Alessandro Pignotti
2009-09-24 3:40 ` pei lin [this message]
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=d6b7c4190909232040w29650j1199f5f4eafd67bd@mail.gmail.com \
--to=telent998@gmail.com \
--cc=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).