Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2325012yba; Mon, 15 Apr 2019 09:18:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+l0BjHszbfCqvT/9NKNtbXNY0/jl2XWPNVMD3FjYJ56q/ifqmvnzXKaMAQEcvHRgYEyYK X-Received: by 2002:a62:1a0d:: with SMTP id a13mr77644540pfa.198.1555345136111; Mon, 15 Apr 2019 09:18:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555345136; cv=none; d=google.com; s=arc-20160816; b=NQU78QDUSGrLjMxSBhTzdk/rxRQHBtAefoCKuIiGdLw9/NmL3m/oKprkEqKL3fUvMB tjOwQzAMZINsKSqXBBuJtKsdCcPn2ISQOrhnEL8VDiM5Ap6woe2NPsfKiRa6qqV5U7TP 0EfdqV+SPqDRjcyfshoE6Z/q30kh/GXW7s8XEZtSGMSSLOH2zD5AQVQiGexFokhbFVwX 4HijoYXhbGe1vDkzSH6ODseH9s60EVnImmvH+clbNLSWdK3sHAUguqpNa97jRZLKa/8k mENrFV/oRocKB+tF4KUJjR8GRlolCPAG0kD7UFCbjmggfVggYYNQkqoe5lVs8zkk7nR2 aSJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=bIPBn1U+SX8uD02iY/mmWBCji2/lm4uOVe9yraoEo7o=; b=VlBQoBmk+3pRojWWf+Se93fe8/b2i9fBKJZ7hk4F9B7f6rkZ/1+6K1jLmlrnNQmsOj bz/TLBfMr0zkrzwkwebFHTwdJVXu3hhFiAYdW167Vb5dtWah6HCJsSdl0AOfigMmluVw ulDK0ctBdPIOJwnUQylXazI7inHcw20ryTxspWd3px5X495sSlIFjjuzAmUs3qHCOi9P 4sJyylCs1QfRTtYRXlEorzNhyCPv4wZfK2+fHShZXDhSOGM2Z0MWdLG4zDLB03ulVfNe 2xAphMTkAq0v0za6sWrLALbVnb/tubmPkQCnySdqrNCLaWFwMSg1UEap1cpJX8RIDS4x eJdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Rc7qx6n5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h69si18527169pfc.100.2019.04.15.09.18.38; Mon, 15 Apr 2019 09:18:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Rc7qx6n5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727783AbfDOQRa (ORCPT + 99 others); Mon, 15 Apr 2019 12:17:30 -0400 Received: from mail-lj1-f175.google.com ([209.85.208.175]:40909 "EHLO mail-lj1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726034AbfDOQRa (ORCPT ); Mon, 15 Apr 2019 12:17:30 -0400 Received: by mail-lj1-f175.google.com with SMTP id q66so1138633ljq.7 for ; Mon, 15 Apr 2019 09:17:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bIPBn1U+SX8uD02iY/mmWBCji2/lm4uOVe9yraoEo7o=; b=Rc7qx6n5VTgrZU3031/RnX2VNuY4cSqBXxxLOtf8sa4GGy81UrF6cIh23W8HCjbplk eei3JXRMEKl88UBMcF12ggFhbCViCFtKDRzEbath5Yr0VuirMta8TVNm5ksL/lQZkU9L gDNJ1M+ReVvsXKP7zNx4xxobRNztNHRC10AkI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bIPBn1U+SX8uD02iY/mmWBCji2/lm4uOVe9yraoEo7o=; b=HVRoerkEU0EeshCIMXAaJzF7QVYzEkjOEBiC3bGWqY/5MbddBa9GmRD0ZYF6VGs10W lYilkFpblIfmS9dOplU0+bV3O8q3AdUNSvmn7U0oxxTj2VUpOXLD5IKrexKwLLWXT28a AqDSrk7dUWzEPUHn45DicqWqHhZxS/nqWht81YQo1UleGy6r7Szr29uDByvMnxPsweTA 6TL4Z2aPEmKek7uvtzB5/UQds4U71/H1iGzKcabjT9nHw7s55bY7fvmTNnA60Wgk14G5 iwiodAc1DVno7lgu7fFmUxvAMoZ6lf2Pg2MawwWjWqJsOfGpDjpT2n6h84aq8cgdbCT0 QILA== X-Gm-Message-State: APjAAAXQqMIa8zet4kJ9Gy5mOgCBA7UrWlVgpaQfr4wFyLOAb7jVFL2a 6ytf+2HzZgdLWFDA4jAdX1IE5D9YKwY= X-Received: by 2002:a2e:9b48:: with SMTP id o8mr24360483ljj.51.1555345047689; Mon, 15 Apr 2019 09:17:27 -0700 (PDT) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com. [209.85.208.180]) by smtp.gmail.com with ESMTPSA id 77sm10069814ljc.69.2019.04.15.09.17.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Apr 2019 09:17:26 -0700 (PDT) Received: by mail-lj1-f180.google.com with SMTP id f18so16222484lja.10 for ; Mon, 15 Apr 2019 09:17:26 -0700 (PDT) X-Received: by 2002:a2e:88c1:: with SMTP id a1mr14718777ljk.78.1555345046432; Mon, 15 Apr 2019 09:17:26 -0700 (PDT) MIME-Version: 1.0 References: <20190415051919.GA31481@infradead.org> In-Reply-To: <20190415051919.GA31481@infradead.org> From: Linus Torvalds Date: Mon, 15 Apr 2019 09:17:10 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 5.1-rc5 To: Christoph Hellwig Cc: Linux List Kernel Mailing , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, Martin Schwidefsky , linux-s390 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 14, 2019 at 10:19 PM Christoph Hellwig wrote: > > Can we please have the page refcount overflow fixes out on the list > for review, even if it is after the fact? They were actually on a list for review long before the fact, but it was the security mailing list. The issue actually got discussed back in January along with early versions of the patches, but then we dropped the ball because it just wasn't on anybody's radar and it got resurrected late March. Willy wrote a rather bigger patch-series, and review of that is what then resulted in those commits. So they may look recent, but that's just because the original patches got seriously edited down and rewritten. That said, powerpc and s390 should at least look at maybe adding a check for the page ref in their gup paths too. Powerpc has the special gup_hugepte() case, and s390 has its own version of gup entirely. I was actually hoping the s390 guys would look at using the generic gup code. I ruthlessly also entirely ignored MIPS, SH and sparc, since they seem largely irrelevant, partly since even theoretically this whole issue needs a _lot_ of memory. Michael, Martin, see commit 6b3a70773630 ("Merge branch 'page-refs' (page ref overflow)"). You may or may not really care. Linus