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 1328C4968FB for ; Thu, 22 Jan 2026 15:46:19 +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=1769096779; cv=none; b=Cezh0ovRIDbJgiZOMsIHP2Zs/MabXwEsphGt37FlXik0KE/qXNc862RFQEBFf4YmT5G2Upy5j7iHLponIG662lmUAtW/nyxjnuMhCyIa2bmypooBfFXUAgJ/b5OGGOu6v5anI/jjuoA68DnLbWA8wAuJkbDmSY/CcNUx/+JrqU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769096779; c=relaxed/simple; bh=L8NOTaXSRtoqLR3l1/8hRCXMpbiAPAlm6dpvHREsPIQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tX8g8THXc1UmBSGYL3cpe66RGbmwzQ1aaa+Kcusm0MASkvQyQDDh82UUATFETb/89X+IlNUZWNTirhMIPCnJRE4R1+qF/VdPgS7BKH7zgypoWgGhJugF2ppqos3IrRtZ64NQdvRPtXBWDrO/TZF/KbhitczUeCkv4cC5rmK8QWA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ugUX5Abp; 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="ugUX5Abp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC0C5C116D0; Thu, 22 Jan 2026 15:46:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769096778; bh=L8NOTaXSRtoqLR3l1/8hRCXMpbiAPAlm6dpvHREsPIQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ugUX5Abp5ejNCI8YQBzU3r58mmyqS/YEqIzWBpI8oLDkOIy5wvc6ISSkaAFDEiLep QsjtjjPrSp5TfdLp/tZmn/MCQiUipvOPUFN/Wfxp0/uF+wxwrbEY20rmI7kFJf5YIt BS160LbhEaFg8bCVtpw/oCSIYvul9UDaTUYvv+N9r+GH23IzNT95hV/4u7BschXles tT6t3GVpc+0LfKTv4JuuCJWMJUcKH9W8Qf08dd+V6flp1ZnE8rQyUzkdTulKGak1Pm mC2L4mCwk/kp++vDhYeQWpR8Hdnd3qTSjBoYG0GnELtfCCmgPImon/oSBjbLMKcvB1 X0O32MQaqR8tw== Date: Thu, 22 Jan 2026 17:46:12 +0200 From: Mike Rapoport To: Pratyush Yadav Cc: Hugh Dickins , Baolin Wang , Andrew Morton , Pasha Tatashin , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] mm: memfd_luo: restore and free memfd_luo_ser on failure Message-ID: References: <20260122151842.4069702-1-pratyush@kernel.org> <20260122151842.4069702-4-pratyush@kernel.org> 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: <20260122151842.4069702-4-pratyush@kernel.org> On Thu, Jan 22, 2026 at 04:18:41PM +0100, Pratyush Yadav wrote: > From: "Pratyush Yadav (Google)" > > memfd_luo_ser has the serialization metadata. It is of no use once > restoration fails. Free it on failure. > > Fixes: b3749f174d68 ("mm: memfd_luo: allow preserving memfd") > Signed-off-by: Pratyush Yadav (Google) Reviewed-by: Mike Rapoport (Microsoft) -- Sincerely yours, Mike.