From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 D20628F58 for ; Wed, 30 Oct 2024 04:42:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730263333; cv=none; b=aO1Mcsg4j79Vwz99lFRPcAfTPNgOKEpayB5HkyFtyIZxQLcjCoBM0q364xOscZc4epmQ7R+ljAnVTOmVbVHXORYFPoq6+FekM1npWleqaRFbS6gs8mQmUNOLvoo7o3g1hzB0tgnmB2TPZgmrfXJ6Tfep40e/W4WrAzYEwivcKz0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730263333; c=relaxed/simple; bh=Hzjlcpkzmi/nKwSd99hkge+jNumklFYhHLfcApbtM1o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=b5vvFfEIBlhjHt+HRZyk+tQYtQxuC6TgzQna2tfSjdiRn690SjTiNFOxRVlhA+50ieXELt9V3fzpFkfn1glby12mlALpFCZbEZ1yClUWLQmQ+U1qXFYyMfWia36OTCXYi6pHcXAzTU/MYb0xoOcrQZYifjWFcurHbc4L+QBhDmw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=LapiazkZ; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="LapiazkZ" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=P5LRF3kai0kfIRnvVlFk6ncN604CNNNk1be9DV8RCT8=; b=LapiazkZ1kfoD+2hK+nyn3ckqG H+BuW4rdqjoYOGrxsUyGxqmYknbk8k/Azus3IKD4PXYoJq2zoHKJz9U1h+DLT/Sk52GEV0jweIVZT bVnkpRI7Byirr5L4iq5uLn2ID9d5dP2aILHRIBANglbtMiwLvPgytZC2XMv1VQ27VcOiUPzm1MhdK HR3tK+c8ogLvloSNExdOu/ttQCAKmt5nWXq4JX71iUycv1hW0k6UFw3hdfoARfLDfcnveVg+8onx1 /vkJ7wfjRFcILvqqH8C5XAboc/uhZELRTMVTApRQkoBkNT/VOBNr12O6sRdbnIx+1+6berSF36G2E fKjw3MJA==; Received: from hch by bombadil.infradead.org with local (Exim 4.98 #2 (Red Hat Linux)) id 1t60X4-0000000Ggzu-2QOW; Wed, 30 Oct 2024 04:42:10 +0000 Date: Tue, 29 Oct 2024 21:42:10 -0700 From: Christoph Hellwig To: John Hubbard Cc: Christoph Hellwig , Andrew Morton , LKML , linux-mm@kvack.org, linux-stable@vger.kernel.org, Vivek Kasireddy , David Hildenbrand , Dave Airlie , Gerd Hoffmann , Matthew Wilcox , Jason Gunthorpe , Peter Xu , Arnd Bergmann , Daniel Vetter , Dongwon Kim , Hugh Dickins , Junxiao Chang , Mike Kravetz , Oscar Salvador Subject: Re: [PATCH] mm/gup: restore the ability to pin more than 2GB at a time Message-ID: References: <20241030030116.670307-1-jhubbard@nvidia.com> <249d2614-0bcc-4ca8-b24e-7c0578a81dce@nvidia.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: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Tue, Oct 29, 2024 at 09:39:15PM -0700, John Hubbard wrote: > I expect I could piece together something with Nouveau, given enough > time and help from Ben Skeggs and Danillo and all... > > Yes, this originated with the out of tree driver. But it never occurred > to me that upstream be uninterested in an obvious fix to an obvious > regression. Because pinning down these amounts of memoryt is completely insane. I don't mind the switch to kvmalloc, but we need to put in an upper bound of what can be pinned.