From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AEE76357A40 for ; Fri, 15 May 2026 05:48:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778824114; cv=none; b=V/WSicErYly59xf30BT811RxO1sZmekMXA7T6bH/XrEzrL9tpipSXVs/V+PsodOMLPpG+OaF6ZgEYIUviVTmGzmlHyfh6vtiEW5LqH/SLDnRobDqk2RU/upCOOBbtcjZyDkkZ+6hXdyKkb6oh89yfnv4uo/rzN3lJijmyY4XxKc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778824114; c=relaxed/simple; bh=w9ZJ/HzKGlPKnDDax6sp5KpM4o5ZIi39SYasEErsUn4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=k7EGJDg3CYNsH5ucoWzqQOivcBBelAWjsXe5QviQt3tKPv0MiiMfDRaKV1cm+qmg9HKifLJ2DQDX/x6hVOzwt9C/ok8cBeOiHsLzS7aIYXVd40N60Yji04rJyraqJFiUgsDZdrLoGLPxFJd8WA6iJcP1Oxpx8fsD3+KmZiGmokU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Rxpuon3g; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Rxpuon3g" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6477DC2BCB0; Fri, 15 May 2026 05:48:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778824114; bh=w9ZJ/HzKGlPKnDDax6sp5KpM4o5ZIi39SYasEErsUn4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Rxpuon3gQYU6ESe3g5Z644ta7oVqSlMJYPAK/YnFIVtY+DlFvxcOU8vvuwgeTDYkb uA47CBCp26upt0Y9L3rQeqL/opKE3GcieGrEIgB/X2bmJWcgysiuhvaiCY4/9MECQT +C0IBltVTwFIDEZMJgzxVFSBsXKlIEaILiNaGwZFV+y/f9qiDw8PSO7kcGxmUyGBPw O1PHw8ta0oAQcvo4kMbWy9LM0Jb1TVcL0shzE/XG/qwCFBuImFB0KvU93WgV1bHXzx iQChixWL2HIfLw+c4ya+DqHn9OH1+IJWksR6KxfrDoD/RFRKt9h0xTBMhqdgNnjuOJ QQ05+oHt/3Z6A== Date: Fri, 15 May 2026 07:48:27 +0200 From: "Oscar Salvador (SUSE)" To: Ye Liu Cc: Miaohe Lin , Andrew Morton , Ye Liu , Oscar Salvador , Naoya Horiguchi , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mm/memory-failure: remove hugetlb output parameter from try_memory_failure_hugetlb() Message-ID: References: <20260515020144.164941-1-ye.liu@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@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: <20260515020144.164941-1-ye.liu@linux.dev> On Fri, May 15, 2026 at 10:01:43AM +0800, 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 Acked-by: Oscar Salvador (SUSE) -- Oscar Salvador SUSE Labs