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 4DDE239A805 for ; Tue, 20 Jan 2026 13:06:35 +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=1768914395; cv=none; b=s+axpKLhIYNRFJa4K42vw/GdKilRASGLuF/UjBu6T3jl6Vyr11gameBlVVcmbB7BRgX1Rh5OXgZlMC8aTXpmyfKzs6F8GPcDrRVSrVA3IfTYg9b03N7xr5noEsQaYjV5HhHCaMAzduijeVQRoUKmAWusWZs9wXDxuN1V9+60em0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768914395; c=relaxed/simple; bh=rERhQa1jZykoq4PB899x/lK9oiqVu+OrztuGSTog//s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PMLR2BQULydgWcGjIietDBb05xjX4NJG8hHIkvRW1AfgZ7EQGzGL3u+XMO/FbaHsf8hBdldOHNEPIClNYLJjU6xplZK4q3kpjVNYngVt3Cxv7o+0OAzG9dCruN/ugIOMS7/6XXWUT8A9zGuJEx4nFD5eywxWqjYkCHS07vpixEs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z+19VGW6; 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="Z+19VGW6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23520C16AAE; Tue, 20 Jan 2026 13:06:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768914395; bh=rERhQa1jZykoq4PB899x/lK9oiqVu+OrztuGSTog//s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z+19VGW689YQmfWzj3ws0xOaW1zvWCBaLeDwyOtrCW/QsH7JreF9icWorSeBkmMLm wHoxMCxl8Dg3oIpmElK2vJr74pnxB2DA/ebUS0FIepbIVXKfAZTy0IyCznsd6sY7a9 4SO5+2Je1YUSglE89KLJdEGJUdp+SuFt5KDobPMjIxamW3ol4YyJCmzghmcmUWc0tp HEW+Joe4fGhn0gfxKC6TkO/vdylolOqcDsta2xp8IZ3UqJlcA/4Q5B3573slxqg0Cv TmXA0ah/tHDPUAfB090eZhZfGcZJ6fFNAw7BoxQNFsmVtENhB0quEZPwr8ghmHKVQV Pm/SLNhnO0E3A== Date: Tue, 20 Jan 2026 15:06:28 +0200 From: Mike Rapoport To: Andrew Morton Cc: Pratyush Yadav , Alexander Graf , Pasha Tatashin , kexec@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Suren Baghdasaryan Subject: Re: [PATCH v2 1/2] kho: use unsigned long for nr_pages Message-ID: References: <20260116112217.915803-1-pratyush@kernel.org> <20260116112217.915803-2-pratyush@kernel.org> <20260116142635.b90464ed9772c146a9842370@linux-foundation.org> 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: <20260116142635.b90464ed9772c146a9842370@linux-foundation.org> On Fri, Jan 16, 2026 at 02:26:35PM -0800, Andrew Morton wrote: > On Fri, 16 Jan 2026 11:22:14 +0000 Pratyush Yadav wrote: > > > With 4k pages, a 32-bit nr_pages can span up to 16 TiB. While it is a > > lot, there exist systems with terabytes of RAM. gup is also moving to > > using long for nr_pages. Use unsigned long and make KHO future-proof. > > We can expect people to be using LTS kernel five years from now, > perhaps much longer. Machines will be bigger then! > > IOW, shouldn't we backport this? The latest LTS is 6.12 that still does not have KHO, I don't think it makes sense to backport this to 6.18. -- Sincerely yours, Mike.