Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7336458yba; Thu, 2 May 2019 08:13:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyNKFtzRAsimCLaZ7MYHWfFt4/mQ8745JPJh++IqR0bCqG93XQsogZHDv778PNYa3R2jB3 X-Received: by 2002:a17:902:9048:: with SMTP id w8mr4284058plz.195.1556810020732; Thu, 02 May 2019 08:13:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556810020; cv=none; d=google.com; s=arc-20160816; b=Wf8qOn042yXVfsp2FzQ/0AvqC3LXZS3PP5IJ3wl4FlQR+9b/pb1+yUG8VuGxe2eWp0 /vkVfY+UhQ6aMWnLAaUSrIPcJmO/1H57s2ujmYSSBwXw0vPLnJLjQrxleA20D2rPrOcF wF3TVbPomAUKkH0JXDwNW7gO9/a2Rxwe0ys04L+uu2VMXZ9e7+mHif4hRH+QeJXF6nu2 eYypSU01uB6aG9EVHpm+xj2UwTFTNKxH4/V73tLNT/qEodH7I+rE/Sxq35xdHixrZIsu +ISrYES2Jl+78yTspYIV5s5NazJEy6rru54aPNpw3hkNE84FOlNcJXVVtVvLuYU+bXFc yRbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:subject:cc:to:from:date; bh=PH8ghMAMWhwnevdgSbxNvFqHt4rSFFE5iM4VcLYsl+g=; b=QSSMxB5tOV/Knh4e18m3C7mcxugt7wdUaRCNTvsJpT9nPFxwNf6re6/cpatXzih7Uv 5fVtXicHC7nWNSRkJGRpJ/qwzgAQiP0GcwcH5fJfzEd6AYDoOZSxMtBPIhTGruxAgyBY 2OV+t+qQdoKaM56i/vCUZIjllrVSeHVcfInFB7mPEft4FZBLLY7ardD7bfuwWEibhOHK oTpRHP5TTmcFRsZYgVLPIIyeuT14i2Yc/+KtijdXBqFEzhKY84uh6OiznvAcsq5MsYjk Jl9nuhEqr4FXFObpyvp2ulzb3WUpy8K2RQMjgSUZa8pXUmLxRGjnhKGzrwWxexb7s6I+ mcjQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si44911404pfc.278.2019.05.02.08.13.25; Thu, 02 May 2019 08:13:40 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726443AbfEBPLE (ORCPT + 99 others); Thu, 2 May 2019 11:11:04 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:38686 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726270AbfEBPLD (ORCPT ); Thu, 2 May 2019 11:11:03 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x42F7WYO067791 for ; Thu, 2 May 2019 11:11:01 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2s81j5vk94-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 02 May 2019 11:11:01 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 2 May 2019 16:11:00 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 2 May 2019 16:10:57 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x42FAuLs21954804 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 2 May 2019 15:10:57 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C94CFA4053; Thu, 2 May 2019 15:10:56 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7F9A0A4051; Thu, 2 May 2019 15:10:56 +0000 (GMT) Received: from mschwideX1 (unknown [9.152.212.60]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 2 May 2019 15:10:56 +0000 (GMT) Date: Thu, 2 May 2019 17:10:55 +0200 From: Martin Schwidefsky To: Greg KH Cc: Linus Torvalds , Christoph Hellwig , Linux List Kernel Mailing , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-s390 Subject: Re: Linux 5.1-rc5 In-Reply-To: <20190502143110.GC17577@kroah.com> References: <20190415051919.GA31481@infradead.org> <20190502122128.GA2670@kroah.com> <20190502161758.26972bb2@mschwideX1> <20190502143110.GC17577@kroah.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19050215-0020-0000-0000-0000033897C2 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19050215-0021-0000-0000-0000218B205B Message-Id: <20190502171055.132f023c@mschwideX1> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-05-02_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=931 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905020102 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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! -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.