From: "Dave Airlie" <airlied@gmail.com>
To: "Daniel J Blueman" <daniel.blueman@gmail.com>
Cc: "Linux Kernel" <linux-kernel@vger.kernel.org>
Subject: Re: uncached page allocator
Date: Tue, 21 Aug 2007 16:06:58 +1000 [thread overview]
Message-ID: <21d7e9970708202306nda9be8dl2d305eb5a80bfcf8@mail.gmail.com> (raw)
In-Reply-To: <6278d2220708200536r786ee72ere7522547c375a428@mail.gmail.com>
>
> Write-combining access seems the correct thing here, followed by a
> wmb(). Uncached writing would be horrendously slow.
>
> [snip]
> > So after all that I'd like to have some sort of uncached page list I
> > can allocate pages from
>
> This is exactly what Intel's PAT mechanism exists for - just mark the
> desired access type (index) on the pages you've been allocated.
>
> It's documented in the Intel Architecture Software Design manuals, but
> Linux's support is lacking in certain areas [discussions on LKML],
> which a number of developers have been trying to move forward.
>
> Quite a few significant graphics/HPC etc vendors are forced to use it
> without this complete support, so it would be good to get this
> additional impetus involved...
I'm hoping to pick up the PAT cause at some point soon this stuff is
definitely required to get any use out of modern graphics hardware.
It is slightly orthogonal to the issue I mentioned in that I still
have the problem of allocating uncached memory without the flushing
overheads associated with making pages cached/uncached constantly..
Dave.
>
> Daniel
> --
> Daniel J Blueman
>
next prev parent reply other threads:[~2007-08-21 6:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-20 12:36 Daniel J Blueman
2007-08-21 6:06 ` Dave Airlie [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-08-20 0:45 Dave Airlie
2007-08-20 8:41 ` Alan Cox
2007-08-21 6:05 ` Dave Airlie
2007-08-21 14:56 ` Peter Zijlstra
2007-08-27 20:00 ` Christoph Lameter
2007-08-30 7:23 ` Nick Piggin
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=21d7e9970708202306nda9be8dl2d305eb5a80bfcf8@mail.gmail.com \
--to=airlied@gmail.com \
--cc=daniel.blueman@gmail.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®