Message ID | 20210614132357.10202-1-imbrenda@linux.ibm.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=paXG=LI=kvack.org=owner-linux-mm@kernel.org> 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,URIBL_BLOCKED,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 A3780C4743C for <linux-mm@archiver.kernel.org>; Mon, 14 Jun 2021 13:24:22 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 33F1A6134F for <linux-mm@archiver.kernel.org>; Mon, 14 Jun 2021 13:24:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 33F1A6134F 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 C96FE6B006E; Mon, 14 Jun 2021 09:24:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C483F6B0070; Mon, 14 Jun 2021 09:24:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A734A6B0071; Mon, 14 Jun 2021 09:24:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0032.hostedemail.com [216.40.44.32]) by kanga.kvack.org (Postfix) with ESMTP id 748406B006E for <linux-mm@kvack.org>; Mon, 14 Jun 2021 09:24:21 -0400 (EDT) Received: from smtpin37.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 15BCC8249980 for <linux-mm@kvack.org>; Mon, 14 Jun 2021 13:24:21 +0000 (UTC) X-FDA: 78252398322.37.BD075BF Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf23.hostedemail.com (Postfix) with ESMTP id 32E3FA000240 for <linux-mm@kvack.org>; Mon, 14 Jun 2021 13:24:13 +0000 (UTC) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15ED37dM184565; Mon, 14 Jun 2021 09:24:05 -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=AOd7hT6IqUJsqtAr/hajjvw5zxOTDer/KKMrZIafiWQ=; b=hlRYDCKlwNFrFKg9Ss3RfUAxuhI+MkRZ4mxNZ0HA2TCMpsF4DSLvPOKKqMe9e/ANSdrr v7acOImlVice4cPAxk61B/W7TpQ+m2i8BPZqQDhBeU4WI6sNtkJVXoCxBg/Q9G34NHhj bVpQwNTVWJ9126dihZafHRXLTETMmdNCiii7A7Ky3TUt18tyApak+cY9eVwY4WmaEBur ch1qxv9MhLURLLt5+67DqDBpJ7r8i8tHHP6OSFYc4SiihEWtb+N+ZN/lbghMxooUmoBa gEvNIIjS0zmHeppi5QXjYB9SRVkD0NILto3p3eNMcKGchRRpq96czwJaueUuILiu2nPv Zg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 39673fsu1q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Jun 2021 09:24:04 -0400 Received: from m0098396.ppops.net (m0098396.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 15ED3J66187742; Mon, 14 Jun 2021 09:24:04 -0400 Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 39673fsu0h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Jun 2021 09:24:04 -0400 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15EDO14J001901; Mon, 14 Jun 2021 13:24:01 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma03ams.nl.ibm.com with ESMTP id 394mj8rych-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Jun 2021 13:24:01 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15EDMx1M28901652 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Jun 2021 13:22:59 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AF3AF52054; Mon, 14 Jun 2021 13:23:58 +0000 (GMT) Received: from ibm-vm.ibmuc.com (unknown [9.145.5.73]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id F18F65204E; Mon, 14 Jun 2021 13:23:57 +0000 (GMT) From: Claudio Imbrenda <imbrenda@linux.ibm.com> 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, Andrew Morton <akpm@linux-foundation.org>, Nicholas Piggin <npiggin@gmail.com>, Uladzislau Rezki <urezki@gmail.com>, Catalin Marinas <catalin.marinas@arm.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, David Rientjes <rientjes@google.com>, Christoph Hellwig <hch@infradead.org> Subject: [PATCH v4 0/2] mm: add vmalloc_no_huge and use it Date: Mon, 14 Jun 2021 15:23:55 +0200 Message-Id: <20210614132357.10202-1-imbrenda@linux.ibm.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: f6LuAo1etUlBZ1PUEMEEyzesdKRCqQfk X-Proofpoint-GUID: uSO97Z_Tmc4NkHhim8c2LbWtvWR-aVVK X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-06-14_07:2021-06-14,2021-06-14 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 spamscore=0 mlxlogscore=522 impostorscore=0 suspectscore=0 clxscore=1015 mlxscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106140089 Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=hlRYDCKl; dmarc=pass (policy=none) header.from=ibm.com; spf=pass (imf23.hostedemail.com: domain of imbrenda@linux.ibm.com designates 148.163.156.1 as permitted sender) smtp.mailfrom=imbrenda@linux.ibm.com X-Stat-Signature: sui4r7s1jqsznrpnggjjkhunih5udfe6 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 32E3FA000240 X-HE-Tag: 1623677053-396216 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
mm: add vmalloc_no_huge and use it
|
expand
|
On Mon, 14 Jun 2021 15:23:55 +0200 Claudio Imbrenda <imbrenda@linux.ibm.com> wrote: > Add vmalloc_no_huge and export it, so modules can allocate memory with > small pages. > > Use the newly added vmalloc_no_huge in KVM on s390 to get around a > hardware limitation. Thanks. I added Fixes: 121e6f3258fe3 ("mm/vmalloc: hugepage vmalloc mappings") and also addressed the whitespace thing which Christoph noted. No cc:stable since 121e6f3258fe3 wasn't in 5.12.