The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Andrew Morton <akpm@osdl.org>, Zachary Amsden <zach@vmware.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Fix kunmap_atomic's use of kpte_clear_flush()
Date: Wed, 08 Nov 2006 11:42:52 +1100	[thread overview]
Message-ID: <1162946572.29130.9.camel@localhost.localdomain> (raw)
In-Reply-To: <4551232A.4020203@goop.org>

On Tue, 2006-11-07 at 16:22 -0800, Jeremy Fitzhardinge wrote:
> kunmap_atomic() will call kpte_clear_flush with vaddr/ptep arguments
> which don't correspond if the vaddr is just a normal lowmem address
> (ie, not in the KMAP area).  This patch makes sure that the pte is
> only cleared if kmap area was actually used for the mapping.

Or in other words, if kmap_atomic() does nothing, kunmap_atomic() should
do nothing.

Rusty.



  parent reply	other threads:[~2006-11-08  0:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08  0:22 [PATCH] Fix kunmap_atomic's use of kpte_clear_flush() Jeremy Fitzhardinge
2006-11-08  0:42 ` Zachary Amsden
2006-11-08  0:42 ` Rusty Russell [this message]
2006-11-08  1:10   ` Jeremy Fitzhardinge

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=1162946572.29130.9.camel@localhost.localdomain \
    --to=rusty@rustcorp.com.au \
    --cc=akpm@osdl.org \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zach@vmware.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