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 8E2863C3C02 for ; Wed, 15 Apr 2026 15:35:50 +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=1776267350; cv=none; b=XxJlQCJ0ELf+w+yY3q4t3Ok1N+i19n9sFz6X5gjgZO1zZgiqtTP9WLreVKwoWcOnPA79AnfoB2PJ7u61M+G1jGZ4e9YkF9C3Uvq5+9LlvXJl83qg20VfsZxW5o/Szv/fJVEtK70JAV8GbwK4sNxlIM7AA2EVd1XR1ApkLa0NDbU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776267350; c=relaxed/simple; bh=Ikv0Ta06Ao9KyftfJm/r17Sukwd2geSANmn4udd7V+E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Vy+EMxcjPWoPVCrHa+linxg/oKGj3m6gxLLYH1X12BvEUodzkChiX2CXFn0ceYrBBMpw5DIzc1LXFamV9gqPMADWq34SdZE7gJmR+Eq9WA588FUvL2/WencSzwYe8LZXHZL7S2e1mc9UWIE9XhvTYeDruAH4bQYLVyQKNV4zdzw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=USzvepqJ; 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="USzvepqJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B1AAC2BCB0; Wed, 15 Apr 2026 15:35:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776267348; bh=Ikv0Ta06Ao9KyftfJm/r17Sukwd2geSANmn4udd7V+E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=USzvepqJlJ+ljNLIY8vRep4l2fDqacmIF98vHX7Pkhxjqg41V1wggCQ9ohOGr/jrK E5O+ceMCq3OHmTkuMhLovkklqVYeTx3QG/4qs/u416wd8KffAep3qlYekeKTttfM01 MICKk3wcrrv8eSQ8nhTjPd7I7Coxa9dj2X/+LvHVgUBUXlzqTah2oMjVaJl3bDiPBW xoYAGfSgi+bDmAWeE9RGJMI027dWjr+qULu8bRIwATp8G2gBzc23OLzIF5KcR1hp8z cD9Rn2hOMTuj583wTFKpwuKWVQL/o+n+rUGQ1D0qDYdLkECgcvLevW0b08XAmZsREH vZmphXEezHphA== Date: Wed, 15 Apr 2026 18:35:42 +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 10/11] liveupdate: Defer file handler module refcounting to active sessions Message-ID: References: <20260413185127.128180-1-pasha.tatashin@soleen.com> <20260413185127.128180-11-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-11-pasha.tatashin@soleen.com> On Mon, Apr 13, 2026 at 06:51:26PM +0000, 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) Reviewed-by: Mike Rapoport (Microsoft) > --- > kernel/liveupdate/luo_file.c | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) -- Sincerely yours, Mike.