From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 960DFC021AA for ; Wed, 19 Feb 2025 07:13:17 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DD9E52801FB; Wed, 19 Feb 2025 02:13:16 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D89DB2801F6; Wed, 19 Feb 2025 02:13:16 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C51792801FB; Wed, 19 Feb 2025 02:13:16 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id A2BBF2801F6 for ; Wed, 19 Feb 2025 02:13:16 -0500 (EST) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 577D950907 for ; Wed, 19 Feb 2025 07:13:16 +0000 (UTC) X-FDA: 83135827992.29.E4A5B7A Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) by imf09.hostedemail.com (Postfix) with ESMTP id 4736F140007 for ; Wed, 19 Feb 2025 07:13:12 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=linux.alibaba.com header.s=default header.b=JEsa5A8p; spf=pass (imf09.hostedemail.com: domain of xueshuai@linux.alibaba.com designates 115.124.30.113 as permitted sender) smtp.mailfrom=xueshuai@linux.alibaba.com; dmarc=pass (policy=none) header.from=linux.alibaba.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1739949194; a=rsa-sha256; cv=none; b=uhiKdIDikeKrUeV5KI7W4GSJPWHQeTgLJQFzTIyivXCjj4R7BPfIAWb+PlAhDHZX8EU5x2 yAMAALxqMVo7KE3T7mQULcva/1taogW9wNhmoKVAYntYWkrhjQ3detQLCvl6owkHAoqmzN 4vvksQoydMG5yMLqrYZ4t6EIFz5ihss= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=linux.alibaba.com header.s=default header.b=JEsa5A8p; spf=pass (imf09.hostedemail.com: domain of xueshuai@linux.alibaba.com designates 115.124.30.113 as permitted sender) smtp.mailfrom=xueshuai@linux.alibaba.com; dmarc=pass (policy=none) header.from=linux.alibaba.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1739949194; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=z3ce28cI/UYUnnn8SipU968k3tBURYYhJt6vjOG3Rvw=; b=pOaa7Pct5DXk/Za1fZrwbLSTyZx8dVP9pVN9bEv71MU231TouKDZy0reEJl01ypZ4Ml7JW S723vJz40f2ywBZUBSrwIqEFFo/DVG/QBx2ozjRC3SP3cqI0nvAk92WFalmNtIv35n3oxZ x4eoAkRBlnOYu4yjLP5orzj2T+mkKNg= DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1739949188; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=z3ce28cI/UYUnnn8SipU968k3tBURYYhJt6vjOG3Rvw=; b=JEsa5A8pcac/t2IMnjJKOMrZdyPDGLThJbNGMsHdiAVohFcz2xXTiPxqb0qVBd0Z+MwxilG5z0PKsc+/OeSTdUEOsfArzPfEVZ3wobmQqABrR9tE8rShPaq+ItOkH3SzlvM9JVTWpvWV/V+0438rPU23OY/dbsgoN9TOjFSjbAM= Received: from 30.246.161.128(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0WPoMl3s_1739949185 cluster:ay36) by smtp.aliyun-inc.com; Wed, 19 Feb 2025 15:13:06 +0800 Message-ID: Date: Wed, 19 Feb 2025 15:13:04 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/5] mm/hwpoison: Fix regressions in memory failure handling To: Borislav Petkov Cc: tony.luck@intel.com, nao.horiguchi@gmail.com, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, linmiaohe@huawei.com, akpm@linux-foundation.org, peterz@infradead.org, jpoimboe@kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, baolin.wang@linux.alibaba.com, tianruidong@linux.alibaba.com References: <20250217063335.22257-1-xueshuai@linux.alibaba.com> <20250218082727.GCZ7REb7OG6NTAY-V-@fat_crate.local> <7393bcfb-fe94-4967-b664-f32da19ae5f9@linux.alibaba.com> <20250218122417.GHZ7R78fPm32jKYUlx@fat_crate.local> <02164ab7-c65b-4b2e-8686-5539bdcb8f43@linux.alibaba.com> <20250218131753.GIZ7SIgRZBJokysBeX@fat_crate.local> <4b52e6cd-1315-4b0b-8b6e-95a3d4ed96cc@linux.alibaba.com> <20250218153138.GLZ7Sn2inSAgMo1aAM@fat_crate.local> From: Shuai Xue In-Reply-To: <20250218153138.GLZ7Sn2inSAgMo1aAM@fat_crate.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Stat-Signature: ygi867b9oupxc9roq6d9j8tbzn7dqnnd X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 4736F140007 X-Rspam-User: X-HE-Tag: 1739949192-733767 X-HE-Meta: U2FsdGVkX1/bpEtcuMkgPN6XE5LDrph/xe5HD+n2I1TGePenQLAOIRTANY2/DM6se4T8Hz+nebms6TLs7GJta5X3J0sa35iSDT1Sg0B2lczFQWOlIxxY+k8F00FUmq4bEgHSx4cDzh+gDjNs/DyRfsaB1rLd3fUx+1UfyLPHzWBsm0V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qfKZpVTdtHYX/yHny9UXgI/+ldw6oWCB/Lpp/23JQvvPST+o13yLRKmKrwAsFcBoyG3F/23/G2s4/8DlsUdcYW5Q1RwR4hwRQ X-Bogosity: Ham, tests=bogofilter, spamicity=0.003847, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: 在 2025/2/18 23:31, Borislav Petkov 写道: > On Tue, Feb 18, 2025 at 09:53:17PM +0800, Shuai Xue wrote: >> The regression is reported by end user and we also observed in the production. > > Where is that report? How many times do I have to ask about different aspects > of your patches until you explain the *whole* picture? Sorry, I can not provide the internal report. Thank you for your continued attention to this matter. I appreciate your thoroughness, and I'd like to clarify a few points: I've made every effort to explain the issue comprehensively in my previous responses, following your previous instructions. And I do not have a more bigger picture. My picture is not introducing a new feature but addressing a regression caused by previous commits and improving system reliability. The root cause and its impact are detailed in patches 3 and 4. > >> [5056863.064239] task: ffff8837d2a2a0c0 task.stack: ffffc90065814000 >> [5056863.137299] RIP: 0010:[] [] __get_user_8+0x21/0x2b >> ... >> [5056864.512018] Call Trace: > > This tells me exactly 0 - I see some truncated stack trace. > >> Sorry, I did not get your point. > > I don't get your text either. Until this is explained and debugged properly, > it is not going anywhere. > Tony helped to answer this answer. If you are a asking for how futex trigger a poison and handle it, hope bellow callstack helps. futex(2) do_futex futex_wait __futex_wait futex_wait_setup get_user // return -EFAULT to top futex(2) I've strived to provide all the relevant information within the constraints I'm operating under. If there are specific aspects you feel need further clarification, please let me know, and I'll do my best to address them. Thank you for your patience and guidance throughout this process. I look forward to your feedback and to moving this patch forward. Shuai