From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.224.44 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795890473; b=u+SNzceA7LBpnqSTWU29aFwMklONO6LUA9b8dDZSpjjfh+4blz88WSCD529cynI1ovP+ KG+n2Gr7U58Qo7TAC3WzpoXZsDNzOZZWxLGo85hVj5MUmsAkk5Rrm993nQ/mbWZjlkqJs hM7CES7PAaDgrPH0XAo8xojIcslR/imv7gGZxAkqwoYusqHVHQsa5M+9OKBbieIcfIQRD r7XnSaH+q5Qp/oaiPrWb+w8+XxfWF5ObLfdzD7aA4igAnigj5cBuEpdq90+C2pTegcRDK QZnTsU+MeH29plxKBZPzU9gQavE74z99OQrDyJebqL/8hmK05HeJLTD2cCi3XeOfc8A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795890473; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type:Content-Disposition:User-Agent; bh=pbqkVKTwkANdfpPS7SBzcnIpwG/tGr47yiVJ82mmtAc=; b=JkWFBnGvPJ+VBtB2RkQwdikgFjqUPbhPJlx/qZyX4wUot+3J77hY8gnzPeog9o70kOJl Jfp9aK0WKCkIfpZequ9sSmT8PchK9PhyoMfZLrRgER9EAhNuuSTM4jbUNRVw2SpKCzv4a qjd+fwDxYu9oCyPc3Pp6RDK1luwlNYcUnmql2ZiHHcy69VRNk6QNzncR9KWwMnYOPa7hS tAS1gp23JQzx9pjwS4q6fNFm5sph/Kj2vyQWsiXAHWVQ5bOpMvDUgM0a9IkoRP/+mfht9 7m9OboEm7pU/KY9DDJEVqzuQ2MUIaP2jvC2S/3kTGAefZA1RDXHSwTx/Mt9Hia+d7FQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=chrisdown.name; spf=pass smtp.mailfrom=chrisdown.name; dkim=pass header.d=chrisdown.name header.i=@chrisdown.name header.a=rsa-sha256 header.s=google header.b=TeGaDgbI; arc=none smtp.remote-ip=74.125.224.44 Received: from mail-yx1-f44.google.com (mail-yx1-f44.google.com [74.125.224.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 07701606A681 for ; Sat, 28 Nov 2026 18:27:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 07701606A681 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=chrisdown.name Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chrisdown.name Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chrisdown.name header.i=@chrisdown.name header.a=rsa-sha256 header.s=google header.b=TeGaDgbI Received: by mail-yx1-f44.google.com with SMTP id 956f58d0204a3-677bc4704cbso10554957d50.0 for ; Sat, 28 Nov 2026 10:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; t=1795890472; x=1796495272; darn=vger.kernel.org; h=user-agent:content-disposition:content-type:mime-version:message-id :references:in-reply-to:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=pbqkVKTwkANdfpPS7SBzcnIpwG/tGr47yiVJ82mmtAc=; b=TeGaDgbIl+eEro+LhxWC9OR8ut7KfVHjN5krM1mC3+fbw0dbR3K0tsJTR2m52FCL7i i9ORhp+4d1s5Mw0MBnfzQZFustPncbrhFM7kCWTR/xAxrNluYJpAfGyNyvNbd8FwaqkD qHzBJEKgWExHOd+whDXqg/uODblKsc3Z3c2Fk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795890472; x=1796495272; h=user-agent:content-disposition:content-type:mime-version:message-id :references:in-reply-to:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=pbqkVKTwkANdfpPS7SBzcnIpwG/tGr47yiVJ82mmtAc=; b=s0x3i0EWiF/ROMuOrjPIOSvh186CuCSVdoqtF+nW8h4fgki1eHYt0ux29QJ8m/FlEg wJDlIE7g2mAzme8fCPDvrILH8SpXvKfxPDuwTMRx8o978UzZ5K+fHlWN9bFO1wb2s9nM woA1spsXCBiwXq6i3ogx3/sZf8wiES2CyRYl90u+zGB9xAOZODh+4yxHvgbg0cpFR9wm ZhybR4BzumVpjK8qu0A9q++RG4xpzENZ1h39WYW17wq0lvdJNO/XBAjQfFVnIlPPzJJu 0J3cY0cbgMzS0MsQwKbKEKkqNNhsisIc0EZqC2lLdW7HeChgs6HoR0bB1WRTKJ0MKrwQ +I7g== X-Forwarded-Encrypted: i=1; AL+hErG+6g32Oni6zWYX4JcCdb/G/fzMHRM5aTOMumJ9Y4TqnYA+Mzz0xSHFEnfU8FnXxgDBIUFOf1ZGIrY=@vger.kernel.org X-Gm-Message-State: APuU4Z8xwWN0fBm+50rGjlz5cVLkQrxu2Z/EJXM/ecOrwtfbwBMuzx/g sIEikUCdvKKoj2u0RI8tIr3ETSiv8BvGrpNJED9FVzVyv1cGPo1nAdP3x3PjOHaY/lk= X-Gm-Gg: AZFdTZcu0otP6XezQP9BeUn7LltpYOuwNfhGU8TASQODjPYi1Yl8j6Am/QjiIW1HCtR 1W/U6kqCPEbhVaeOPwSReWQFpup8+mO6ElY0BS1UeY1/HJPuedDMvVVk+4dqiwQFMiyd9fGsHPL zFJX6Wz4fXzMQSp6i79eTcRdk+wdSu0c8sizmWtF+050xADC7BKuAv9+lUXuspXINdrbTwidy1X bMogYK0/EspJKxAfhFybLRGUiKSk0GugWvwI3NJlBe+Mo+1pw9Gl8/p6RZytKeYPmofh5MSiZtD ZUHdlLUQuh1VMHUaT042J//qsCLHF7UgJPAPEo6ylXt0uFiV9QHrjBoXP+L2HkQW5faYdtSOto4 YBWvQS0lNjIhuhaJTiJgcSyf0KK5uaDELUGGb0mCNNTvyRpHY23X2HM9GHCRQUKGxnLYefIR/mV lW6JvHZP9jJm2dI/2LvsupgOXqyzZQ+awCwOiTj3EDJC0n9W7KNB86jtUtFaUhP13Ety+ophq+s 8HdnDwCH/2E4WVdYC6nowYz4znMheaa5J94XtHpJe9AE9OQw2EzSZHkfVz3uWy5bsVocdf46Wux 4fS1kssQeUw2vPa9Fl/eP+daM1yDJ3QmFvpRD4fJLIWwj+ESsVGL3FIbNA+hkW8YThI0pwOcDIO 3EnjCc0ukkjnmab0far+VCKTQo7pr3Enss/Xo83+H1Rmi5LG3/c6NrqnRo45H4k+YoGY6wjuKz2 pVKWorfprQ1QJnTmV/aa7YuzVUZtk6pj2+M81eixuS/ZVVUR+/dES1/oJ940lJS8hGYVS65kybw 0qWqFu/xMB+Lhgem/JUkT4= X-Received: by 2002:a05:690e:12c9:b0:67c:41a:bf5b with SMTP id 956f58d0204a3-67df42b592fmr12948184d50.9.1795890472059; Sat, 28 Nov 2026 10:27:52 -0800 (PST) Received: from [172.20.0.3] (c-73-207-185-9.hsd1.ga.comcast.net. [73.207.185.9]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-67e6aeb61d7sm2519613d50.3.2026.11.28.10.27.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Nov 2026 10:27:50 -0800 (PST) Date: Sat, 28 Nov 2026 10:27:49 -0800 From: Chris Down To: Mike Rapoport Cc: Pasha Tatashin , Pratyush Yadav , Alexander Graf , Baoquan He , Jonathan Corbet , Shuah Khan , kexec@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCH 2/9] kho: Make bootmem reservations visible to fleet monitoring In-Reply-To: References: <179443886218.2329176.10742245280418377061.b4-review@b4> <20261113003059.056dd036a6546756@chrisdown.name> Message-ID: X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/2.4.3 (cc9e3943) (2026-10-09) Hi Mike, Mike Rapoport writes: >> I can send patches for those separately if you agree that bootmem should be >> counted in both. > >Yes, please :) Will do. >We'll need sysfs at some point to lift the requirement for debugfs mount. >And I think it can live in /sys/kernel/kho and there we can have incoming >and outgoing and the implementation can be in kernel/liveupdate/kho-sysfs.[ch] That sounds good to me, and that way kexec_core.c doesn't need to know about KHO's files at all. In v2 I'll move state, preserved_size and restored_size from 6/9 and 7/9 to /sys/kernel/kho/incoming/. Nothing in this series reports on the outgoing side, so I'll only add incoming/ for now. The bootmem size stays out of sysfs, as Pasha asked. >BTW, kexec_handover_debugfs.c was initially given the "full" name because >it lived along kexec_* in kernel. These days I believe we can make it >kho-debugfs.c Pratyush's housekeeping series [1] renames it to kho_debugfs.c, so I'll call the new file kho_sysfs.c to match. >I promise to look at the rest of the series Really Soon :) Thanks! Chris [1] https://lore.kernel.org/r/20261127122536.3708770-3-pratyush@kernel.org