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 6D43A382F2C for ; Fri, 3 Apr 2026 10:42:53 +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=1775212973; cv=none; b=GK8Y/nf6PJhvsu7Q/w6J8u485qCn8aLrZ1qpJ6EHDaYOOWOVVy2khVanMPLo1tpau/T7bd7X9CcasXZb3KRFtiCZTtFfqj+KPtNzZvJ/aXV0PF4trAaIYFh3Y6XQAAb117QjIoAuXKqA3Xld+8Py6h/3RQFTigsGYAfSd1KcIWs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775212973; c=relaxed/simple; bh=0Pl0tHJSa+A8FXUPv/ufuLndsXrmGd/m2WDATXYEx24=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=kC7hyZNJQaL8ue+6HN79ooGUOXztamhRpN3f9mgPF8rImzsZw0QDN97pGMqcSJOJF7f+cLrcVsAx3xIk5rVcRAbo0ml/tMx5PFEGApUywhf2MUp41Pp/wvvEjGD5bxAkUU/d4yNWfF2Xa9Pa+ERyESbI97hRprLwgKtPc+xr3A8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=I5tu38M3; 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="I5tu38M3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93A0AC4CEF7; Fri, 3 Apr 2026 10:42:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775212973; bh=0Pl0tHJSa+A8FXUPv/ufuLndsXrmGd/m2WDATXYEx24=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=I5tu38M3oFHgkgWPDyV5WIKLJABhtseeHrYFB0jULisjiuksVT+0dX9n1/dxNY168 SPErUpYGMQVZ7ZrV+yYTdDiYTTz3K8q4Ti0q9EJkTxx8efyZA25jPJCi1U7CTTJoog nbNGJHgigqDP25YGmUsvkJq40M/YMPlBtNFpmGcipHhDcEMRBtFCnIl7NHQKSp3p8d 4Y0e2vmJlQSkZlryK+boJQQ+ww6m6fJxSFIICvPrq9cI0bu9F9QrcAwJYcHzyHV/cQ 1lbVb8CF9jlEfLjxOffJzkbbKCmJ0XRSNgAdAr/g6xpiC7mxwbTkwSr/5QTQSmQmlS 88Xk1livNIz5w== From: Pratyush Yadav To: Pasha Tatashin Cc: rppt@kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, dmatlack@google.com, pratyush@kernel.org, skhawaja@google.com Subject: Re: [PATCH v3 10/10] liveupdate: Defer file handler module refcounting to active sessions In-Reply-To: <20260327033335.696621-11-pasha.tatashin@soleen.com> (Pasha Tatashin's message of "Fri, 27 Mar 2026 03:33:34 +0000") References: <20260327033335.696621-1-pasha.tatashin@soleen.com> <20260327033335.696621-11-pasha.tatashin@soleen.com> Date: Fri, 03 Apr 2026 10:42:49 +0000 Message-ID: <2vxz5x68e34m.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Fri, Mar 27 2026, Pasha Tatashin wrote: > Stop pinning modules indefinitely upon file handler registration. > Instead, dynamically increment the module reference count only when a > live update session actively uses the file handler (e.g., during > preservation or deserialization), and release it when the session ends. > > This allows modules providing live update handlers to be gracefully > unloaded when no live update is in progress. > > Signed-off-by: Pasha Tatashin Reviewed-by: Pratyush Yadav (Google) [...] -- Regards, Pratyush Yadav