From: Andi Kleen <ak@linux.intel.com>
To: Ruidong Tian <tianruidong@linux.alibaba.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
akpm@linux-foundation.org, nao.horiguchi@gmail.com,
linmiaohe@huawei.com, tianruidong@alibaba.linux.com,
xueshuai@linux.alibaba.com
Subject: Re: [PATCH] mm/hwpoison: avoid speculation access after soft/hard offline
Date: Thu, 27 Jun 2024 22:27:47 -0700 [thread overview]
Message-ID: <871q4hzlf0.fsf@linux.intel.com> (raw)
In-Reply-To: <20240628033509.27612-1-tianruidong@linux.alibaba.com> (Ruidong Tian's message of "Fri, 28 Jun 2024 11:35:09 +0800")
Ruidong Tian <tianruidong@linux.alibaba.com> writes:
> Page that offlined can report CE/UE event due to speculation access.
> Delete kernel 1:1 linner mapping after soft/hard offline to avoid it.
But that will split the large pages for the direct mapping, costing you
every time there is TLB pressure. You can probably do the math, with
enough uptime and a reasonable error rate aand this patch there might be
not even be 2MB pages left at some point. Cheaper to just ignore them,
since they shouldn't cause any other problems.
-Andi
prev parent reply other threads:[~2024-06-28 5:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-28 3:35 [PATCH] mm/hwpoison: avoid speculation access after soft/hard offline Ruidong Tian
2024-06-28 5:27 ` Andi Kleen [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=871q4hzlf0.fsf@linux.intel.com \
--to=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=linmiaohe@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=nao.horiguchi@gmail.com \
--cc=tianruidong@alibaba.linux.com \
--cc=tianruidong@linux.alibaba.com \
--cc=xueshuai@linux.alibaba.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).