From: Andrew Morton <akpm@linux-foundation.org>
To: ira.weiny@intel.com
Cc: "Fabio M. De Francesco" <fmdefrancesco@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>,
Christoph Hellwig <hch@lst.de>, kernel test robot <lkp@intel.com>,
Al Viro <viro@zeniv.linux.org.uk>,
Linus Walleij <linus.walleij@linaro.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2] highmem: Fix kmap_to_page() for kmap_local_page() addresses
Date: Thu, 6 Oct 2022 13:33:31 -0700 [thread overview]
Message-ID: <20221006133331.dabd345508f7d62a887dfb4d@linux-foundation.org> (raw)
In-Reply-To: <20221006040555.1502679-1-ira.weiny@intel.com>
On Wed, 5 Oct 2022 21:05:55 -0700 ira.weiny@intel.com wrote:
> kmap_to_page() is used to get the page for a virtual address which may
> be kmap'ed. Unfortunately, kmap_local_page() stores mappings in a
> thread local array separate from kmap(). These mappings were not
> checked by the call.
>
> Check the kmap_local_page() mappings and return the page if found.
>
> Because it is intended to remove kmap_to_page() add a warn on once to
> the kmap checks to flag potential issues early.
What were the user-visible runtime effects of this?
Are we able to identify a Fixes:?
Thanks.
next prev parent reply other threads:[~2022-10-06 20:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-06 4:05 ira.weiny
2022-10-06 20:33 ` Andrew Morton [this message]
2022-10-07 15:45 ` Ira Weiny
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=20221006133331.dabd345508f7d62a887dfb4d@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=fmdefrancesco@gmail.com \
--cc=hch@lst.de \
--cc=ira.weiny@intel.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=tglx@linutronix.de \
--cc=viro@zeniv.linux.org.uk \
/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