From: Greg KH <gregkh@linuxfoundation.org>
To: Will Deacon <will.deacon@arm.com>
Cc: stable@vger.kernel.org, Catalin Marinas <catalin.marinas@arm.com>
Subject: Re: [PATCH] arm64: proc: Set PTE_NG for table entries to avoid traversing them twice
Date: Tue, 20 Feb 2018 16:29:01 +0100 [thread overview]
Message-ID: <20180220152901.GA30387@kroah.com> (raw)
In-Reply-To: <1519126806-16595-1-git-send-email-will.deacon@arm.com>
On Tue, Feb 20, 2018 at 11:40:06AM +0000, Will Deacon wrote:
> Commit 2ce77f6d8a9ae9ce6d80397d88bdceb84a2004cd upstream.
>
> When KASAN is enabled, the swapper page table contains many identical
> mappings of the zero page, which can lead to a stall during boot whilst
> the G -> nG code continually walks the same page table entries looking
> for global mappings.
>
> This patch sets the nG bit (bit 11, which is IGNORED) in table entries
> after processing the subtree so we can easily skip them if we see them
> a second time.
>
> Cc: <stable@vger.kernel.org> # 4.14+
Now queued up, thanks.
greg k-h
prev parent reply other threads:[~2018-02-20 15:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-20 11:40 [PATCH] arm64: proc: Set PTE_NG for table entries to avoid traversing them twice Will Deacon
2018-02-20 15:29 ` Greg KH [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=20180220152901.GA30387@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=catalin.marinas@arm.com \
--cc=stable@vger.kernel.org \
--cc=will.deacon@arm.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;
as well as URLs for NNTP newsgroup(s).