From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6862C27B50F for ; Sun, 17 May 2026 18:40:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779043255; cv=none; b=k9qTXo2bKRGvUkLHETcRltbBx31IUYvr1H4EcqaOlq2bAAudGASHJfKXT9kgXTfGXcoIgCjn5l5NKxEe5ekn8QSkCNJz63cpiLuEZyZa+hQpmAmYrivliv69YzHvSlJ7pYlJe25ukkMr3850PcY/5jmcP864bLzONqWmEO8nz68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779043255; c=relaxed/simple; bh=0kpVpDj+XWlJIzQDiyFGQk8iMRHNhireUEHGx1sDQkc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WicvOck3Epg7svZ3tqqFl60z9t0Ei6Vz2YSz++YyM3uV7fQcua07GIa55BDltU3jjQ6nShY2ZtR7wnkQB8wH/17dZ3ZPJ+49bilcZ0kx3Qs7M6X6Mz4ChFWGaUVEDujqoQYVHv3G8lMfEFJZPefJU7oQ8Nme92lpJGT8gLBr9xg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=soleen.com; spf=pass smtp.mailfrom=soleen.com; dkim=pass (2048-bit key) header.d=soleen.com header.i=@soleen.com header.b=TfTiem+5; arc=none smtp.client-ip=209.85.219.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=soleen.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=soleen.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=soleen.com header.i=@soleen.com header.b="TfTiem+5" Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-8b3fe2f19a4so19199556d6.2 for ; Sun, 17 May 2026 11:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; t=1779043253; x=1779648053; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=yO9O8pu4RjDyHVPuvzyCd3iEZISD+KMOY00JM/YV72g=; b=TfTiem+5WDnnCIzlAqfMtLzTa59DMOdCCycU2k0GQcqEQNHNAk81xwA01H6rbyG38n vtf6+ev6ZUvyRR9izAD5DqnpGcLGWCaUj4g1GYWB1bsykUJdiZNdmmKmaofNLc1uKWat 0ucsJ03P5dIIk+KzOf0xIRNKp01QNteDQKw5TOjTIlfw5/nZPV60Zr79UALvN8wc4Z8f LixlbH+BNInlIZmVch/S4Cic68+dHfMlC1kepOcytrw9pwobJM1hV3gTqxSvjaLh0qdD i0M8scCn0cQyyP5hGmj8w+iYZfwXAqYrDpWtOBBRPC+8lZFv9bbTc5LHN0Efc1viLLj6 Ombg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779043253; x=1779648053; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yO9O8pu4RjDyHVPuvzyCd3iEZISD+KMOY00JM/YV72g=; b=ZczclsxrwmtrQM0VCrUNY2fJV1aWUwrIqNfL/nf3e5dcFAFLPwOzF4rz6OY6a1I6Q+ P3ldvQIXPJSTXUEIIWMGZZn/Yt0AMCy2giXBkziwC7PMyqsuKuW+Tmqtos8nYd49xs/H 56aHkYp3ivxLvBjWPBrfgor8XZmJJic0Jt4Z8ptaCkKd+1RV1HouzXvMCXzbwwkJSsNl yAfCZ2E95l8UvJBScaxU5HTmVH3wTJ2w4GO0Mrv/wKLUhUuZ+Eony+12afUft9UmWoiF QmHepTfD876RI8MUBrrfAQPWZCRpzziLyjDa1nuVvhDqUehRYquDly8qnEg0R3eQbK5U qeFw== X-Forwarded-Encrypted: i=1; AFNElJ9sq/NrzI78GsGHu2SW0PQlaxIrl/tqXeeH45nQOEyUUsMt2dFGp7u9QVr6e6hwxZBFQcD+EX0F9yH2msk=@vger.kernel.org X-Gm-Message-State: AOJu0YzIarulAKpgG39vNZGbniJYtdUYUlSLGSaEZs2GqWQWyZleMO8Q Q29D6Z+aTDtQQwIBI+gb4rIVdNMBwgJCHc45Ho356ovgd7zkhxBXgN++9FA5R6+uRtk= X-Gm-Gg: Acq92OF5Fj0sXQ8jNC+AOsaImLuAMdo5CZ9Aelc/W7x2xnCpQ53g0k5jNGrGBKGOSPN /u69qVfpwLRLEcPns0I8p48d0C5qXxs00u5hQLJjP6KN0jGJ/P313KMvhC1TcQfklG/ETnBtUG0 1eyBsKv9cg8EW4xizyAuBX2rt7X10Hd/GLTD21MjCelHoVgsajJxV8KPqZZYZ+OemW2qw1Agotp NAWp1Hrg5AgfolC4KWn4cr9F3MWEApd0ADM/P1Q3E1bJpvYfDqxRS9C/bksVWIJwJlAXI1IL+Cd VGvRNa7FHum2sisfNcv8iHLboBxNQ0ShEC244pQv+GzS8m5V2zk4o256BGdvzbOtW/fvMkifH6x hcoYjRgBm7KGI0OZkKAgoRJkKYAv/XFX/yE4sYCsJSZGIo9PUsFtuNaoULFXHQxOnlm14qCTu4s KXcAHHiLvDRcTRbM1mUFbmCaRm7pfTnyYZZJ6TPO9sZnIEHdNOMWk= X-Received: by 2002:a05:6214:23cc:b0:89a:f0b:60e9 with SMTP id 6a1803df08f44-8ca1ecce8bbmr127423436d6.13.1779043253347; Sun, 17 May 2026 11:40:53 -0700 (PDT) Received: from plex ([71.181.43.54]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8ca3619c7d9sm29192256d6.36.2026.05.17.11.40.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2026 11:40:52 -0700 (PDT) Date: Sun, 17 May 2026 18:40:50 +0000 From: Pasha Tatashin To: Mike Rapoport Cc: Pasha Tatashin , linux-kselftest@vger.kernel.org, shuah@kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, skhan@linuxfoundation.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, corbet@lwn.net, dmatlack@google.com, kexec@lists.infradead.org, pratyush@kernel.org, skhawaja@google.com, graf@amazon.com Subject: Re: [PATCH v2 04/10] liveupdate: add support for linked-block serialization Message-ID: References: <20260514222628.931312-1-pasha.tatashin@soleen.com> <20260514222628.931312-5-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: On 05-17 20:26, Mike Rapoport wrote: > On Thu, May 14, 2026 at 10:26:22PM +0000, Pasha Tatashin wrote: > > Introduce a linked-block serialization mechanism for LUO state. > > > > Previously, LUO used contiguous memory blocks for serializing sessions > > and files, which imposed limits on the total number of items that could > > be preserved across a live update. > > > > This commit adds the infrastructure for a more flexible, block-based > > approach where serialized data is stored in a chain of linked blocks. > > This is a preparatory step to allow an unlimited number of > > luo_sessions and luo_files to be preserved. > > Shouldn't it be a part of KHO? It can be. However, at the moment, it is only used by LUO, so I kept it there. Sami is also planning to use it for IOMMU; if so, he will adopt the interface for his usage as well, and move it to a separate KHO library. > > > Signed-off-by: Pasha Tatashin > > --- > > Documentation/core-api/liveupdate.rst | 8 + > > include/linux/kho/abi/luo.h | 22 ++ > > kernel/liveupdate/Makefile | 1 + > > kernel/liveupdate/luo_block.c | 388 ++++++++++++++++++++++++++ > > kernel/liveupdate/luo_internal.h | 57 ++++ > > 5 files changed, 476 insertions(+) > > create mode 100644 kernel/liveupdate/luo_block.c > > -- > Sincerely yours, > Mike.