From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed2-f12.google.com (mail-ed2-f12.google.com [74.125.228.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 248334FECD3 for ; Wed, 16 Sep 2026 13:46:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789566376; cv=none; b=QDsyLx9eRiZeoA/tKmyODyOJHv/atfRwEn1O5YKLGf8RnmlGUqSb6QerFwUhEgEWgqpWkB5VbxX5XhLfU+vmy4Rh1Dr6bxMJaaBvZIDkdBJlZUjvpY3iok1ynVmSufh4Azig/8eJnTI8LEB1y2RlRM/9PR4uPFZUardrIaSWw+8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789566376; c=relaxed/simple; bh=JALK3ZEku02fNrcK0g+Xt9SkUYhgHph+GtKulp/52dI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=k2hdhLRVb0YxdcQtIFoIs1TjKuFhbxlXcRtWSiCYanBeQWlKYMOgK1l2MVFotfxn/xlVPRy2fYmkG4TeLwnHP3gcpwCQqcdWojbx/vea8dVMoCa6ZIAZErGGLFh6c23+CquoVFKvUvs/G47p8b1iLeIpZMtLgn/WCQbPX3jX8f4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=YsOFx69y; arc=none smtp.client-ip=74.125.228.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="YsOFx69y" Received: by mail-ed2-f12.google.com with SMTP id 4fb4d7f45d1cf-6a60591bb18so636751a12.1 for ; Wed, 16 Sep 2026 06:46:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1789566360; x=1790171160; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=gS5Urd2oK4cUSLkPyZ8kKu9K7ELV+4PGRJOBXjNcmpA=; b=YsOFx69y7zAipESFJmWnXl5Qsecs6gbqqymCvBwbAffX1r7WUk2XoG9UV5OeGcdJS7 oY8dT33LmXSRivEuiPuE90x3qkMTNT4snxg99+QY2kNliPjLeTcRfFRc5i1+KOfc7hJC YNNy0D2jFfy4FXWdrULVxRAUrK9Flp3IIJ1CvktvnThhUnYJatNrT4Mao+QLLPEudlyg TKmhGPdWEuZ8+1Z4fMxr0ETGrjov+JlRONzb3FHkJY22vE8yGjVXGXT3Qyz1htKCNhBx Vzsn8yYSbucMSkgOihttNqkVtVt1nitbTDQ55RLrbAGE6YTed9QnK4/KmnTY/xrTTikC mZqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789566360; x=1790171160; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=gS5Urd2oK4cUSLkPyZ8kKu9K7ELV+4PGRJOBXjNcmpA=; b=lvSrUxbASxjL9O4hmavmBe3xO7emNDFYbuqET+73F57Jyxjl7IaqgzzXHcMMEItpQf XO4eabXue53tve5FQ/agzAlr9vNdRPGT1AogtDKIz9gzetQ0420cD2XDgptzJ6NCd7ju L6R9WQRo3y/9pijoILhYHbWV1acqGdiVAJJDlfdemnXz4ZjZ335II+bEYQXOx5QWJdom B/yI59u85zOZxsJ+BbuwnvJwdey9SaKfAfl3IvzSZWv84OMPPP/QRxM+p6eQlSA66JjW xKtyWoy31s94NhIy+taGQc5aXlz/sxqK/D0JKyDVbDIuwSH431oij+8KflJQczIfWiqU YbxA== X-Forwarded-Encrypted: i=1; AKwUvBxkveN0hAxz2v+JtQ574FnbpJurLiSKHH6B8sHAsUwoRch0tUJmYRlxMU9E6eIrEVO+Kr7Id4Q3Rzeq@vger.kernel.org X-Gm-Message-State: AFuF++mP8K72Q09THJ0Ifl0bNy7E2Hd9ujB/o0yTSNhe6H/r5EFkDNzb HPx7elJU15FglIdKsEHpR4XTWsx+C//6ZALLCJZr+V4ex4exeu5CcFc0dSkkcs0dShA= X-Gm-Gg: AYBFou26rljJe9DKMqCOMSEwijFOdLxwlcAWO5SVsw4q8hjQDgPvBeJ4cp5d9v/3P0B xG6Kw+pk2aG9AFVcSZdNKipHMMuKvFEY5i1EKl8HA/EP5QQjBY8jBowk9GyASpYLIL3ARy7HlF9 2mbHeJe1PDiUIUtXND5h/Q/u5pRrnHxiYFEOpqe0CQdWZO4KVxKGP96ZK38g3zrzcC9dAAnLVmg J6vW2yS8RfM4rr39by8HGPgA2t3L8+BuiXrGThBIISeg0ELuXyHpgvEsMEBEtiA/psQtapaltYX K+rZokf/MwUrs47VDCBM6hVEqmyU+EuLrjP3PMIBXHG0Rsr4uOXIIrWm930XAkZWrDft2DPEeWM WOKIQpCiC+4M+1ZZUdnl33t4Qej+zIjGvEs/uEqTBOj4RXxehW5+mDYFUa6xRHwV2RrrpO6+ef8 mJkZeBYxCNckixpgjRChGRcQTVt2EtBYQk6rgzIenv2X/DY/qnkJ+JBU5OGtsZ X-Received: by 2002:a05:6402:52d9:b0:6a9:9840:f3d with SMTP id 4fb4d7f45d1cf-6aa2288f30amr2016738a12.4.1789566359636; Wed, 16 Sep 2026 06:45:59 -0700 (PDT) Received: from localhost ([2a02:aa7:4656:2314:c23c:9eda:81d:3]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6aa1cfe07e4sm1792644a12.2.2026.09.16.06.45.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2026 06:45:59 -0700 (PDT) Date: Wed, 16 Sep 2026 15:45:58 +0200 From: Michal Hocko To: "David Hildenbrand (Arm)" Cc: Kyle Meyer , akpm@linux-foundation.org, corbet@lwn.net, linmiaohe@huawei.com, shuah@kernel.org, tony.luck@intel.com, jane.chu@oracle.com, jiaqiyan@google.com, Liam.Howlett@oracle.com, bp@alien8.de, hannes@cmpxchg.org, jack@suse.cz, joel.granados@kernel.org, laoar.shao@gmail.com, lorenzo.stoakes@oracle.com, mclapinski@google.com, nao.horiguchi@gmail.com, osalvador@suse.de, rafael.j.wysocki@intel.com, rppt@kernel.org, russ.anderson@hpe.com, shawn.fan@intel.com, surenb@google.com, vbabka@suse.cz, linux-acpi@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v3] mm/memory-failure: Support disabling soft offline for HugeTLB pages Message-ID: References: <36480c86-fc59-4387-91a4-cad839f502f2@kernel.org> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <36480c86-fc59-4387-91a4-cad839f502f2@kernel.org> On Wed 16-09-26 15:28:01, David Hildenbrand wrote: > On 9/16/26 15:19, Michal Hocko wrote: > > On Wed 16-09-26 15:08:45, David Hildenbrand wrote: > >> > >>> > >>> OK, so apparently there are some BIOSes which abuse this feature to > >>> mimic a real HW poisoning. This doesn't change the overall picture > >>> though > >> > >> Is this really abusing? We know that a page is shaky and will likely go bad in > >> the future, For now it is still accessible. Trying to migrate off that page stop > >> using it right away sounds pretty logical to me. > > > > Yes, no dispute on that. But we have HW poisoning for exactly that > > purpose, no? > > Well, that tells you that the page content is effectively gone and should be > tried to be recovered / migrated away. Unless I am messing up terminology here. Maybe it is me messing up the terminology... But I guess we have established that whether soft offlining is being abused or not, excluding hugetlb through a configuration is just a wrong thing to do. -- Michal Hocko SUSE Labs