All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: Benjamin LaHaise <bcrl@redhat.com>
Cc: Andi Kleen <ak@muc.de>, linux-kernel@vger.kernel.org
Subject: Re: [patch] pageattr update
Date: Thu, 13 Jun 2002 00:52:38 +0200	[thread overview]
Message-ID: <20020613005238.A17700@averell> (raw)
In-Reply-To: <20020612010443.B1350@redhat.com>

On Wed, Jun 12, 2002 at 07:04:43AM +0200, Benjamin LaHaise wrote:
> Below are some updates to the pageattr patch you posted earlier.  The 
> first set of changes were to add change_page_attrs in several paths 
> where the AGP and DRM code would allocate a page and then call 
> ioremap_nocache on it to create an uncachable mapping.  Secondly, I 

I don't think these changes are needed. The GART tables itself have no physical
alias and the CPU AFAIK deals fine with virtual aliases.

> removed the #ifdef __i386__ around the change_page_attr hook, and 
> instead put dummy macros in the headers for the various other archs.  
> There was a race in pageattr.c that would make the P4 unhappy, so I 
> moved the pte page free to after the tlb flush.  The tlb flush was 

I had already fixed that, but thanks.

> not flushing global pages, so I replaced the code with a call to 
> flush_tlb_all() to do the job.  Lastly, since the top page of the 
> page tables on x86 is unique to each mm and contains copies of the 
> pmd entries in non-PAE mode, I added a function to walk all mms via 
> the mmlist to update the pmds before the tlb flush.

Urks. last version was only tested on PAE @)

Will release a new version tomorrow.

-Andi

  reply	other threads:[~2002-06-12 22:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-12  5:04 [patch] pageattr update Benjamin LaHaise
2002-06-12 22:52 ` Andi Kleen [this message]
2002-06-13 10:12   ` Benjamin LaHaise
2002-06-13 15:09     ` David Mosberger
     [not found] <20020612010443.B1350@redhat.com.suse.lists.linux.kernel>
     [not found] ` <20020613005238.A17700@averell.suse.lists.linux.kernel>
     [not found]   ` <20020613061246.A7121@redhat.com.suse.lists.linux.kernel>
     [not found]     ` <15624.46508.257287.233406@napali.hpl.hp.com.suse.lists.linux.kernel>
2002-06-13 16:13       ` Andi Kleen

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=20020613005238.A17700@averell \
    --to=ak@muc.de \
    --cc=bcrl@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.