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 74F5721FF2A for ; Wed, 15 Apr 2026 15:29:06 +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=1776266946; cv=none; b=iHiRJ1JwuRVRW3x9EpmEjUQjmsuDdnR3OgiJDrJYkF+HMQtBIxFW5TMsO88VlaohoILKUHhA9vvZv3RQkSPEuGrG/Tkw8QL0UwzJwYBzHy9LrRsK/a7tFzjoPG7hLoZrzVdvBbKVZSj/uXfN/Rgnc7ZInRZi6MzDBGFZ/Bl2ZWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776266946; c=relaxed/simple; bh=b7F6dEl/fEDrYP//U5wNccvIPE7yc2JN/vaCoN2DyCw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rz92aRiar6JwGNXY6DKkuTET96CrP/bJVn0+HtyhpVh+dk4oRNfnkVjTZr4/mgsvsUSllg6CYZtDu3+jzY6ePuckSdLAe3gA3hhICqljb0i77FmPxupsuq432skzTZQvpePSLDA+zL3B+JTsIieDtKu915gBqPIu/SZ6n/WlYZ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Uh43M2OF; 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="Uh43M2OF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42692C19424; Wed, 15 Apr 2026 15:29:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776266946; bh=b7F6dEl/fEDrYP//U5wNccvIPE7yc2JN/vaCoN2DyCw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Uh43M2OFwIS3dJsit5Sm/nu4DvzvgG54RBiMqoErTLLRQ41CfAJpdyXwk4uM263PZ 55MAPapME/Hp+hI+K4/xZ7NSZSBXwcoBolNvR0s+wr9y/pRKf3spB4EIloCgMCZdH1 PCNliafYveptLE1kby5seoadkVZ7w+5lt6P7zo4zrmlKCJGe4eMaSb79r5R6VPMIN3 1l5ZwWwIeeTFVMWSWN9KZ4Qv4uRt8OSj6sjuwajgaR9sWu6BYWHeEtyv2E+K7X31jN mSZ1l9o/2qJPECv8lvU2GdTLihhdWwcjAEhQArPLDEgwvaOvZlkJFAhQ8ZZJP/dC5e NCFzaXXpjchlA== Date: Wed, 15 Apr 2026 18:29:01 +0300 From: Mike Rapoport To: Pasha Tatashin Cc: 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 v4 05/11] liveupdate: Defer FLB module refcounting to active sessions Message-ID: References: <20260413185127.128180-1-pasha.tatashin@soleen.com> <20260413185127.128180-6-pasha.tatashin@soleen.com> 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: <20260413185127.128180-6-pasha.tatashin@soleen.com> On Mon, Apr 13, 2026 at 06:51:21PM +0000, Pasha Tatashin wrote: > Stop pinning modules indefinitely upon FLB registration. > Instead, dynamically take a module reference when the FLB is actively > used in a session (e.g., during preserve and retrieve) and release it > when the session concludes. > > This allows modules providing FLB operations to be cleanly unloaded > when not in active use by the live update orchestrator. > > Signed-off-by: Pasha Tatashin > Reviewed-by: Samiullah Khawaja > Reviewed-by: Pratyush Yadav (Google) Reviewed-by: Mike Rapoport (Microsoft) > --- > kernel/liveupdate/luo_flb.c | 27 +++++++++++++++++---------- > 1 file changed, 17 insertions(+), 10 deletions(-) > -- Sincerely yours, Mike.