Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1964169pxb; Thu, 11 Feb 2021 00:10:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkAAPq3hPjx0NPtDwh8/F9SV2JkTUs8b9r9rw7KRWozjyNkowOLMMSmSjL++xSV4odY1EI X-Received: by 2002:a17:906:6d94:: with SMTP id h20mr7310467ejt.231.1613031015654; Thu, 11 Feb 2021 00:10:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613031015; cv=none; d=google.com; s=arc-20160816; b=sXTplf9Z6c5mrMxcsb9bUhsGHYPOjuBUbrCsbzfSDvdRkprJ76TyprgHq2ViyBKuUs x/zeSs9zd107RQ9rKo4I7qHmkJwX0Y/CR6cWqswqEaKfWIRAA5gUOmjXZRV88xanAGIS 3ddCVoWiPCf0HsjwIeKg3XjrpcwipQ41s1ht6j+ChwPUzUP4E0Byay7iQQUvSKMIcL1Z 86pOEjph7ekB3tFzbVblPNDW7v7bgYw8uJO2JWDHH63gwPJh1Uf1awNNAChIp7ofVOTA qHRg8NmxNqXo2oz99MNz8Eh1waw5ipykh1CnZnoBoo8RS1OIn3etA2DLJWFmylXrQDlw VJxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=s2/iVWxzkADv+S+Mae40bB15A0mIK0/KoE8gnMAXvoQ=; b=tBdRsF1xtxxcnVQra5KK/HySPZk4RoObHCS15A5Q+0lW+Dupn7sR5NMGfvDp5Cvk2z We/teXNOMhJJ5JD1HnUNmyzo+6sMaHIxQfklN8CN/eHT8RQys5ioCF6FBHuQ9IcdVjH/ wioma5CyZcqta6JjukKrp2s3tDejwdA3XKTeSi2Tpa/vfA5XZB7MboS86Wy7bfS9X6UV gvzPCT36N9omLmotSuDgvAPJlASvWSU35icrEoxA7qtnGXobgjaCJZ7zvNGBwcu61oMH HOrNm+GR8S7dUWcvPFf0gPhGx6Dyr7nQy9a6aJfQ5lgKXSFb0Kb+GQMe/7RzCgy/KO2H 5D3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w17si3228351ejy.52.2021.02.11.00.09.51; Thu, 11 Feb 2021 00:10:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229803AbhBKIHE (ORCPT + 99 others); Thu, 11 Feb 2021 03:07:04 -0500 Received: from mx2.suse.de ([195.135.220.15]:33142 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229674AbhBKIHB (ORCPT ); Thu, 11 Feb 2021 03:07:01 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 93CADAE05; Thu, 11 Feb 2021 08:06:19 +0000 (UTC) Date: Thu, 11 Feb 2021 09:06:17 +0100 From: Oscar Salvador To: Naoya Horiguchi Cc: linux-mm@kvack.org, Andrew Morton , Michal Hocko , Tony Luck , Matthew Wilcox , "Aneesh Kumar K.V" , Naoya Horiguchi , linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] mm, hwpoison: enable error handling on shmem thp Message-ID: <20210211080617.GA4087@localhost.localdomain> References: <20210209062128.453814-1-nao.horiguchi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210209062128.453814-1-nao.horiguchi@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 09, 2021 at 03:21:28PM +0900, Naoya Horiguchi wrote: > From: Naoya Horiguchi > > Currently hwpoison code checks PageAnon() for thp and refuses to handle > errors on non-anonymous thps (just for historical reason). We now > support non-anonymou thp like shmem one, so this patch suggests to enable > to handle shmem thps. Fortunately, we already have can_split_huge_page() > to check if a give thp is splittable, so this patch relies on it. > > Signed-off-by: Naoya Horiguchi Looks good to me, thanks Naoya: Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE L3