From patchwork Tue Jun 8 18:06:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudio Imbrenda X-Patchwork-Id: 12307857 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61567C47082 for ; Tue, 8 Jun 2021 18:06:29 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BD3F5613AD for ; Tue, 8 Jun 2021 18:06:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD3F5613AD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 44D686B006C; Tue, 8 Jun 2021 14:06:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3FD7A6B006E; Tue, 8 Jun 2021 14:06:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 29DE86B0070; Tue, 8 Jun 2021 14:06:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0191.hostedemail.com [216.40.44.191]) by kanga.kvack.org (Postfix) with ESMTP id EE8E26B006C for ; Tue, 8 Jun 2021 14:06:27 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 708B18778 for ; Tue, 8 Jun 2021 18:06:27 +0000 (UTC) X-FDA: 78231336414.24.75E2F38 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf18.hostedemail.com (Postfix) with ESMTP id 318782001096 for ; Tue, 8 Jun 2021 18:06:24 +0000 (UTC) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 158I41fI002968; Tue, 8 Jun 2021 14:06:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=9pT5NyCsMcXq6bxyr9aL7I+JZVm7+8yifIRbBFy2b3c=; b=kYq9HgrKj07DuLK4uy+IB1Cj1edid5VuONTL1G5F30TjaC1IG5GWaZ6S2SkYSmkShBkx HqXXE9XE+nfB5urbF8LAHD6eq+cbBhxy8Ys/b/TJkqp0bAse7hHFrK1p+zcl9f57wyyi +VcSOnY6tawL3jKD7DyAzNoXa6NQe0xlPS+kuaHSUFIA8nrlZtQQ7VDiOC9zjuRycNFB ICLhW936fNn+Jh9mY68fSGCg13EkS4hoU80d2mMKtNJOsVpjiLhzUpv1GaSvZgQO+Rws 9Qoo2fUaV+L54irA6Z11RY0wSZCEbGQJP7DDVgqyPLV8kn98tyQRdp66uM5duvHsSArQ dA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 39266dy1xq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Jun 2021 14:06:25 -0400 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 158I436j003069; Tue, 8 Jun 2021 14:06:25 -0400 Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0b-001b2d01.pphosted.com with ESMTP id 39266dy1wg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Jun 2021 14:06:24 -0400 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 158HvaBb026004; Tue, 8 Jun 2021 18:06:22 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma06fra.de.ibm.com with ESMTP id 3900hhgx8y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Jun 2021 18:06:22 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 158I6JN631195408 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 8 Jun 2021 18:06:19 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 760AA52051; Tue, 8 Jun 2021 18:06:19 +0000 (GMT) Received: from ibm-vm.ibmuc.com (unknown [9.145.5.240]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 103975204F; Tue, 8 Jun 2021 18:06:19 +0000 (GMT) From: Claudio Imbrenda To: linux-kernel@vger.kernel.org Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org, frankja@linux.ibm.com, borntraeger@de.ibm.com, cohuck@redhat.com, david@redhat.com, linux-mm@kvack.org Subject: [PATCH v2 0/2] mm: export __vmalloc_node_range and use it Date: Tue, 8 Jun 2021 20:06:16 +0200 Message-Id: <20210608180618.477766-1-imbrenda@linux.ibm.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: mMY1AqUiAIUc7imm9kNMMO16XJpItA0d X-Proofpoint-ORIG-GUID: HXhffsdsD4UNilx6V7W4H_8h-hNM9UAU X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-06-08_11:2021-06-04,2021-06-08 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 impostorscore=0 suspectscore=0 bulkscore=0 priorityscore=1501 mlxlogscore=766 clxscore=1011 mlxscore=0 spamscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106080117 Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=kYq9HgrK; spf=pass (imf18.hostedemail.com: domain of imbrenda@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=imbrenda@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com X-Stat-Signature: o5ysua45qp5n5euqe5shbxsde69ygw5i X-Rspamd-Queue-Id: 318782001096 X-Rspamd-Server: rspam06 X-HE-Tag: 1623175584-625545 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000447, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Export __vmalloc_node_range so it can be used in modules. Use the newly exported __vmalloc_node_range in KVM on s390 to overcome a hardware limitation. Claudio Imbrenda (2): mm/vmalloc: export __vmalloc_node_range KVM: s390: fix for hugepage vmalloc arch/s390/kvm/pv.c | 5 ++++- mm/vmalloc.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-)