From: "H. Peter Anvin" <hpa@zytor.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: "Li, Shaohua" <shaohua.li@intel.com>,
Arjan van de Ven <arjan@infradead.org>,
lkml <linux-kernel@vger.kernel.org>,
"airlied@linux.ie" <airlied@linux.ie>,
Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@redhat.com>,
"Siddha, Suresh B" <suresh.b.siddha@intel.com>,
"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [patch 2/2] reduce tlb/cache flush times of agpgart memory allocation
Date: Mon, 18 Aug 2008 10:18:33 -0700 [thread overview]
Message-ID: <48A9AEE9.1060201@zytor.com> (raw)
In-Reply-To: <20080818080344.GK30694@elte.hu>
Ingo Molnar wrote:
> * Li, Shaohua <shaohua.li@intel.com> wrote:
>
>>> it would be great if you had time to update his patch and this to
>>> it...
>> I'll do it soon.
>
> great! Please do it as a delta patch against tip/master:
>
> http://people.redhat.com/mingo/tip.git/README
>
> as your first two patches are being tested already:
>
> 466ae83: reduce tlb/cache flush times of agpgart memory allocation
> 1ac2f7d: introduce two APIs for page attribute
>
> [ but it can all only go upstream once the observations from Arjan have
> been addressed. ]
>
>>> and the logic probably should be "if there's more than X pags in the
>>> the array, just use wbinvd". Although wbinvd is very painful if you
>>> have 12Mb of cache and you wipe it for all cores in the system ;-(
>> This might not be that bad, changing attribute isn't frequently used.
>
> dont some X/DRM drivers do it for a wide range of GX ops?
>
I think so... at least it's likely to become more common.
Realistically, it means WBINVD, being uninterruptible, is probably
unsafe even for very large amounts.
-hpa
prev parent reply other threads:[~2008-08-18 17:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-04 6:51 [patch 2/2] reduce tlb/cache flush times of agpgart memory allocation Shaohua Li
2008-08-15 14:31 ` Ingo Molnar
2008-08-15 14:40 ` Arjan van de Ven
2008-08-15 14:43 ` Ingo Molnar
2008-08-18 1:21 ` Li, Shaohua
2008-08-18 3:56 ` Arjan van de Ven
2008-08-18 6:19 ` Li, Shaohua
2008-08-18 8:03 ` Ingo Molnar
2008-08-18 17:18 ` H. Peter Anvin [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=48A9AEE9.1060201@zytor.com \
--to=hpa@zytor.com \
--cc=airlied@linux.ie \
--cc=akpm@linux-foundation.org \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=shaohua.li@intel.com \
--cc=suresh.b.siddha@intel.com \
--cc=tglx@linutronix.de \
--cc=venkatesh.pallipadi@intel.com \
/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