public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jerome Glisse <glisse@freedesktop.org>
To: Jerome Glisse <jglisse@redhat.com>
Cc: airlied@gmail.com, dri-devel@lists.sf.net,
	linux-kernel@vger.kernel.org, Dave Airlie <airlied@redhat.com>
Subject: Re: [PATCH] ttm: add pool wc/uc page allocator
Date: Thu, 16 Jul 2009 18:34:35 +0200	[thread overview]
Message-ID: <1247762075.12808.2.camel@localhost> (raw)
In-Reply-To: <1247760821-12122-1-git-send-email-jglisse@redhat.com>

On Thu, 2009-07-16 at 18:13 +0200, Jerome Glisse wrote:
> On AGP system we might allocate/free routinely uncached or wc memory,
> changing page from cached (wb) to uc or wc is very expensive and involves
> a lot of flushing. To improve performance this allocator use a pool
> of uc,wc pages.
> 
> Currently each pool (wc, uc) is 256 pages big, improvement would be
> to tweak this according to memory pressure so we can give back memory
> to system.
> 
> Signed-off-by: Dave Airlie <airlied@redhat.com>
> Signed-off-by: Jerome Glisse <jglisse@redhat.com>

Just a follow-up on that one, i haven't been able yet to thoroughly
test this patch on AGP system, so i am mostly sending so other people
can test. I think i corrected few bugs that were in previous iteration
of that patch.

Beside that i think i have addressed all comment previously raisen,
but don't hesitate to pin point any things i have miss.

Cheers,
Jerome


  reply	other threads:[~2009-07-16 16:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16 16:13 [PATCH] ttm: add pool wc/uc page allocator Jerome Glisse
2009-07-16 16:34 ` Jerome Glisse [this message]
2009-07-17  8:01   ` Michel Dänzer
2009-07-17 14:55     ` Jerome Glisse
2009-07-18 15:32       ` Michel Dänzer
2009-07-16 23:23 ` Dave Airlie

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=1247762075.12808.2.camel@localhost \
    --to=glisse@freedesktop.org \
    --cc=airlied@gmail.com \
    --cc=airlied@redhat.com \
    --cc=dri-devel@lists.sf.net \
    --cc=jglisse@redhat.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