Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp5228899imm; Fri, 18 May 2018 20:19:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpKzwJc9WgxdbkaXGLVIQwEA8sf6TM73XRzMpsr0Q1vLmJ7ulT+jgCH26gq0sfY/bPBwjwP X-Received: by 2002:a17:902:aa95:: with SMTP id d21-v6mr11881108plr.73.1526699942140; Fri, 18 May 2018 20:19:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526699942; cv=none; d=google.com; s=arc-20160816; b=FLCHXSx+Z3yLZbRb4RziLGCTS9sZx/BMCbM9g7XgIb1f7BipPGPDiXvbuBmNaS/BOd tR678I0o2yJGSMRXpZSsiKw7q2Gei+b7RyZXrzC9RNniv2nuyF0g3pYo1NeUXEC5Ac8N lcMcGgtXhog/2ntUl5R84rpGSpzw4ZtH/V3Axaja/eSYbYSWxuuMwigrb36OlGAipvHs cXmhgiTINLXnicbJGQ/Z2HAdsvlkxqZUJ2jivMsHUXbGqOrpRokK29pLN5G8/cjPEQFK yPnTf1p4BYR7mgHryNIDXOFge2hN+PHiZoYdp+tezKOFsLQUB5Vy7cxcAya9m5ad+9Hy PlSg== 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 :content-disposition:mime-version:subject:cc:to:from:date :arc-authentication-results; bh=gU4B54csNIpta14tpSzfMdgjG6tgcK6dIL9/FTh3fHM=; b=uGp1XEMMuRlMAcBIJq3jsapAPHgx/dt7y36OT9SZfgSPue8nJ9qBzJJMNDVXOdDhM+ nCa7X8dDl+Yc7xgvjCLSoV4yvEGi4yGxnI9ckkH1yjXcE3Yzy+lr0pbIbTtyraepiIEg HWw4pudLpeFdJVBNSK4cc+GgaSwuC6WlFE18EsxiTkEVGM4rEmWCs3g269FqFrBCTdh/ ky7sR9c8Qsqxr4DydVRXhGtv2O4hFaWKZ5Kwga5SdpRdkQFEBBBob416gaDjIimZ+u3R y9XUbAFofheVFnMkqIOULdxSXyL0N/1Da3wk66Cwr9H16uH66KdIPJ+ggZ5dg/WUjq5T y5SA== 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 d23-v6si6911361pgn.326.2018.05.18.20.18.47; Fri, 18 May 2018 20:19:02 -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 S1752160AbeESDPb (ORCPT + 99 others); Fri, 18 May 2018 23:15:31 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:42300 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751117AbeESDP3 (ORCPT ); Fri, 18 May 2018 23:15:29 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4J3E0hE101989 for ; Fri, 18 May 2018 23:15:29 -0400 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0a-001b2d01.pphosted.com with ESMTP id 2j2823ydu5-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 18 May 2018 23:15:29 -0400 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 19 May 2018 04:15:27 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sat, 19 May 2018 04:15:24 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4J3FNDE5439914; Sat, 19 May 2018 03:15:23 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 437A8A404D; Sat, 19 May 2018 04:06:50 +0100 (BST) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0674BA4055; Sat, 19 May 2018 04:06:50 +0100 (BST) Received: from localhost (unknown [9.145.77.209]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Sat, 19 May 2018 04:06:49 +0100 (BST) Date: Sat, 19 May 2018 05:15:22 +0200 From: Vasily Gorbik To: Linus Torvalds , Andrew Morton , Al Viro Cc: linux-kernel@vger.kernel.org, Heiko Carstens Subject: [v4.17-rc5][bisected] be83bbf80682 breaks /proc/vmcore mmap MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18051903-0020-0000-0000-0000041EE2C4 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18051903-0021-0000-0000-000042B40FAD Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-19_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805190035 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greetings, be83bbf80682 "mmap: introduce sane default mmap limits" introduced a problem with mapping /proc/vmcore if it is bigger than 2gb. This breaks s390 kernel zfcpdump. But it should be a general problem. Please consider the following one-liner fix, if it makes sense. Vasily Gorbik (1): procfs: fix mmap() for /proc/vmcore fs/proc/inode.c | 1 + 1 file changed, 1 insertion(+) -- ⢀⡵⣤⡴⣅ 2.17.0 ⠏⢟⡛⣛⠏⠇ space invaders edition