From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-fw-52005.amazon.com (smtp-fw-52005.amazon.com [52.119.213.156]) (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 8966518A93F; Wed, 2 Apr 2025 18:49:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=52.119.213.156 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743619759; cv=none; b=iEeqR8C2Pe0MTpkfzbU+U0d4eg3OdZL/vnu/Yo/h9J83qebyuXF0cs7udkj788F8CExM5hP4oB4qur5qfqbrgW0gWl82hd0r7GR7UjyPLPgOsnLnjzAxUmH8dU59V9ADsDsOvcqJyNP/T6p4NbhhEvQqRkH9UHQYNlT9DEapUuc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743619759; c=relaxed/simple; bh=lzIzGe/A8K0FeDNd49e2UFCleX6gbOBWTXq2lLAmj28=; h=From:To:CC:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=B78ShEliKPfEKdbYhLQBHmwqiEI/gMgVTFHv4OGOvtgaYfhu5yZAIap/KPjz5BjAuDZ8CPDYbeUa8OO6VRDU4g+9/3YFQhB7XwiWqODbb6ibIVFgIqzwHzUknkM/2fZi7M6JFoN6AKHe6VH4lKlHBpPnHY+KPxcW3XqIP/3jh1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.de; spf=pass smtp.mailfrom=amazon.de; dkim=pass (1024-bit key) header.d=amazon.de header.i=@amazon.de header.b=N2tQb1bp; arc=none smtp.client-ip=52.119.213.156 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amazon.de header.i=@amazon.de header.b="N2tQb1bp" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1743619758; x=1775155758; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=lzIzGe/A8K0FeDNd49e2UFCleX6gbOBWTXq2lLAmj28=; b=N2tQb1bp3qAv2NusgoPPUnXMweVB3/nS7LdTV9GYHbUntQQwMGCSt5gQ CzOr0x+as3Mg2yZi/OUBXSwDg6A6wInOT0nejWxGQ08Zz6rHBizhQ+FJT KQHBfSBPuaQj3Ubru/FC85qSGD7pTQhVKLgT8j0AREHnkQmra13pouAec Q=; X-IronPort-AV: E=Sophos;i="6.15,183,1739836800"; d="scan'208";a="732319846" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev) ([10.43.8.6]) by smtp-border-fw-52005.iad7.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2025 18:49:12 +0000 Received: from EX19MTAUWB001.ant.amazon.com [10.0.21.151:38908] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.37.138:2525] with esmtp (Farcaster) id 7d79399a-a36b-4d73-99b6-98948cdf7eea; Wed, 2 Apr 2025 18:49:11 +0000 (UTC) X-Farcaster-Flow-ID: 7d79399a-a36b-4d73-99b6-98948cdf7eea Received: from EX19D020UWA002.ant.amazon.com (10.13.138.222) by EX19MTAUWB001.ant.amazon.com (10.250.64.248) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1544.14; Wed, 2 Apr 2025 18:49:01 +0000 Received: from EX19MTAUWA002.ant.amazon.com (10.250.64.202) by EX19D020UWA002.ant.amazon.com (10.13.138.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1544.14; Wed, 2 Apr 2025 18:49:01 +0000 Received: from email-imr-corp-prod-iad-all-1b-85daddd1.us-east-1.amazon.com (10.25.36.210) by mail-relay.amazon.com (10.250.64.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1544.14 via Frontend Transport; Wed, 2 Apr 2025 18:49:01 +0000 Received: from dev-dsk-ptyadav-1c-43206220.eu-west-1.amazon.com (dev-dsk-ptyadav-1c-43206220.eu-west-1.amazon.com [172.19.91.144]) by email-imr-corp-prod-iad-all-1b-85daddd1.us-east-1.amazon.com (Postfix) with ESMTP id B8E254076F; Wed, 2 Apr 2025 18:49:00 +0000 (UTC) Received: by dev-dsk-ptyadav-1c-43206220.eu-west-1.amazon.com (Postfix, from userid 23027615) id 74DA54F1C; Wed, 2 Apr 2025 18:49:00 +0000 (UTC) From: Pratyush Yadav To: Pasha Tatashin CC: Changyuan Lyu , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v5 09/16] kexec: enable KHO support for memory preservation In-Reply-To: References: <20250402164453.2470750-1-changyuanl@google.com> Date: Wed, 2 Apr 2025 18:49:00 +0000 Message-ID: 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; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 02 2025, Pasha Tatashin wrote: > On Wed, Apr 2, 2025 at 12:47=E2=80=AFPM Pratyush Yadav wrote: >> >> Hi, >> >> On Wed, Apr 02 2025, Changyuan Lyu wrote: >> >> > Hi Pratyush, Thanks for suggestions! >> > >> > On Thu, Mar 27, 2025 at 17:28:40 +0000, Pratyush Yadav wrote: [...] >> >> >> >> The memblock_reserve side we can optimize later, I agree. But the mem= ory >> >> preservation format is ABI and I think that is worth spending a little >> >> more time on. And I don't think it should be that much more complex t= han >> >> the current format. >> >> >> >> I want to hack around with it, so I'll give it a try over the next few >> >> days and see what I can come up with. >> > >> > I agree with Jason that "nothing is ABI at this >> > point" and it will take some time for KHO to stabilize. >> > >> > On the other hand if you have already came up with something working a= nd >> > simple, we can include it in the next version. >> >> I already have something that works with zero-order pages. I am >> currently implementing support for other orders. It is almost done, but >> I need to test it and do a performance comparison with the current >> patch. Will post something soon! > > Hi Pratyush, > > Just to clarify, how soon? We are about to post v6 for KHO, with all > other comments in this thread addressed. I have it working, but I need to clean up the code a bit and test it better. So hopefully end of this week or early next week. --=20 Regards, Pratyush Yadav