From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout03.his.huawei.com (canpmsgout03.his.huawei.com [113.46.200.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3463B3CB918 for ; Fri, 15 May 2026 03:12:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778814726; cv=none; b=qv9PgKlHAEHpJ3QNfrR/iBN/hI7dsAqB8JWjPpAl1g9IuQzr3lPzvNSf64HOOx6Eop0la5O0m5TYfaiWV43ZE+6k/6GupXSpFOOKV92f50AyJp9aTN6LQ0Wyd5Zwj7dxcaON2x1V1cR/UT/uY8CbG+wzPV1+PLMt1oek/BIXdZk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778814726; c=relaxed/simple; bh=j+KRyKhaPe6v8lG17bILCTNAnb5v8lrL25lohBakQYo=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=XgPbP4NIHcBrOfatOS7Zgm27dgUxkxKT+FAn0jhWZUxc9VHem+ZTD7AQbzuDs5r2BeJ8Ro0LPO4ELlZ8ynPIPDkX67135ZNARkcdvcZQtBtXaMqTpTruptX1t1hT6+KKFlTKp2Vn60rLiFC7tjl2nhcC70O5xXXl0Y4jR4HS0Co= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=CaZ7+99x; arc=none smtp.client-ip=113.46.200.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="CaZ7+99x" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=iDAP5qswLMAaL3iKA7iN482knbgPKbvSgtEV4A3UGvE=; b=CaZ7+99xUY4qYsSV0/JrKh4GX817rgqyfLviq9bz9wEqB7Sdamk9fDe5nlNC9Bo6p5v9lZ3/2 9LOQpxtkbNXGeplN/UjKHBNpFDgYgbwDn3AtBYAnQEVCjeUXe8mf49F/lsXBsIJeQ+XlURy/ppQ MOKzPlvQd9VJzw48hFExblk= Received: from mail.maildlp.com (unknown [172.19.163.104]) by canpmsgout03.his.huawei.com (SkyGuard) with ESMTPS id 4gGsW73fq8zpTK1; Fri, 15 May 2026 11:04:51 +0800 (CST) Received: from dggemv705-chm.china.huawei.com (unknown [10.3.19.32]) by mail.maildlp.com (Postfix) with ESMTPS id E687C4048F; Fri, 15 May 2026 11:11:55 +0800 (CST) Received: from kwepemq500010.china.huawei.com (7.202.194.235) by dggemv705-chm.china.huawei.com (10.3.19.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 15 May 2026 11:11:55 +0800 Received: from [10.173.124.160] (10.173.124.160) by kwepemq500010.china.huawei.com (7.202.194.235) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 15 May 2026 11:11:55 +0800 Subject: Re: [PATCH v2] mm/memory-failure: remove hugetlb output parameter from try_memory_failure_hugetlb() To: Ye Liu CC: Ye Liu , Oscar Salvador , "Naoya Horiguchi" , , , Andrew Morton References: <20260515020144.164941-1-ye.liu@linux.dev> From: Miaohe Lin Message-ID: <1ee68dcc-41d0-1606-64e0-e071634ec64b@huawei.com> Date: Fri, 15 May 2026 11:11:54 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20260515020144.164941-1-ye.liu@linux.dev> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: kwepems100001.china.huawei.com (7.221.188.238) To kwepemq500010.china.huawei.com (7.202.194.235) On 2026/5/15 10:01, Ye Liu wrote: > From: Ye Liu > > Use -ENOENT return value to distinguish "not a hugetlb page" from > "hugetlb handled", instead of carrying an extra output parameter. > > Suggested-by: Oscar Salvador > Signed-off-by: Ye Liu Thanks for your cleanup. Acked-by: Miaohe Lin Thanks. .