Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp206313yba; Mon, 20 May 2019 07:24:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqx264Eik+ssm/YWJj8a+7zcHwiLh64Q/qcbJQNDvRYyznbgbWFbC27BtOJMrhevBVvmIT0U X-Received: by 2002:a63:d901:: with SMTP id r1mr38026096pgg.271.1558362241526; Mon, 20 May 2019 07:24:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558362241; cv=none; d=google.com; s=arc-20160816; b=CHfKXL1ik5SWQHTPa0xuqkRu7GTGuGm3xso00hmS+wnVh2Im0GMUglAbnA9O4S4Hv0 U4/caEC7ZFMFI2ERe/xgvqeyEjvd24dLZ4o1C12CzuwGIzL6tf970gNbMnj9YIVnE24p SdHu7ej7nVVkBtCsFdBmpPSgf8WHrBsTa8/WXd++AzfyO2H9NXdzJrKmnHuRmNAQkmCl m0btP5MNfppS8n24FT4cR/XZ+jBoMjjkK95yrw3xxETlnKpGFn+/BIIpahD/6IllxzOy 8tdJZTS6uxeKbGLSSpfYK94CHqBaZdKmzulo9HvCbXs7D5bls+x7BgQW4z3EzvSdIXOH Je9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=k4NB4z49va+Vng1Byr5bmDHMRFDCoQOdW2f3hkfb8y4=; b=kkE+aGK7eSI77N6DgMSd2m1HEeLFBmb3jnohEDFs26gr4EePBKuRa0ZH6h18nAp+lx B0+Eq331ezXhFB2PhOcEaPf4seLKLFxf5XgyYLvSAz80JFw//q3KdMO0hbZ4997e1+Hk +lXOfkduoZ1LWalgDvAuZze6KXjHlH7FM0+LbIFMBxmFQ+KnfOSwsEETWng6YeueyLHq KQ+NDTPKeX8Z0NRyo+1/2YZJMQ3LO+qO66PULMxfkcLr/9k1PWqVYTSrkzi3C7240MqM 17/4FrI1FKUMIbOfa6TwBuzmkliZNhbZ9qbxai1N/1DolGz3tH2BBYVWw/3DiKFw4/yH Aqdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wOVNCDxE; 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 cj18si11620839plb.328.2019.05.20.07.23.45; Mon, 20 May 2019 07:24:01 -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=@kernel.org header.s=default header.b=wOVNCDxE; 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 S1732411AbfETLJe (ORCPT + 99 others); Mon, 20 May 2019 07:09:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:59558 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732368AbfETLJe (ORCPT ); Mon, 20 May 2019 07:09:34 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B95A920675; Mon, 20 May 2019 11:09:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558350573; bh=xdE8V/8ROdDMJBxU1DJwKw3mMX0oiKOiXtH4jn4mbsA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wOVNCDxENKYO0q/G1lnr6pHS2TvfvKKbdZY26Wc07DPYhlcHtBlWtMBI1Z/GNHH+M TM70+y+emNI8iJvcY/HDv5rWhNudKkRclkpSM1nrD+Q3sHnrdMUEFtaQlz5fn2IZkr bLp4RG9Emu+UfROJ7RmYE8u++Kbk5/voPKSJx1Uo= Date: Mon, 20 May 2019 13:09:30 +0200 From: Greg KH To: Martin Schwidefsky Cc: Linus Torvalds , Christoph Hellwig , Linux List Kernel Mailing , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-s390 Subject: Re: Linux 5.1-rc5 Message-ID: <20190520110930.GC20211@kroah.com> References: <20190415051919.GA31481@infradead.org> <20190502122128.GA2670@kroah.com> <20190502161758.26972bb2@mschwideX1> <20190502143110.GC17577@kroah.com> <20190502171055.132f023c@mschwideX1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190502171055.132f023c@mschwideX1> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 02, 2019 at 05:10:55PM +0200, Martin Schwidefsky wrote: > On Thu, 2 May 2019 16:31:10 +0200 > Greg KH wrote: > > > On Thu, May 02, 2019 at 04:17:58PM +0200, Martin Schwidefsky wrote: > > > On Thu, 2 May 2019 14:21:28 +0200 > > > Greg KH wrote: > > > > > > > On Mon, Apr 15, 2019 at 09:17:10AM -0700, Linus Torvalds wrote: > > > > > 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. > > > > > > > > I've now queued these patches up for the next round of stable releases, > > > > as some people seem to care about these. > > > > > > > > I didn't see any follow-on patches for s390 or ppc64 hit the tree for > > > > these changes, am I just missing them and should also queue up a few > > > > more to handle this issue on those platforms? > > > > > > I fixed that with a different approach. The following two patches are > > > queued for the next merge window: > > > > > > d1874a0c2805 "s390/mm: make the pxd_offset functions more robust" > > > 1a42010cdc26 "s390/mm: convert to the generic get_user_pages_fast code" > > > > > > With these two s390 now uses the generic gup code in mm/gup.c > > > > Nice! Do you want me to queue those up for the stable backports once > > they hit a public -rc release? > > Yes please! Now queued up to 5.0 and 5.1, but did not apply to 4.19 or older :( thanks, greg k-h