Message ID | 20240704043132.28501-36-osalvador@suse.de (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EA8EC30653 for <linux-mm@archiver.kernel.org>; Thu, 4 Jul 2024 04:33:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2DCD16B00C3; Thu, 4 Jul 2024 00:32:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 265926B00C5; Thu, 4 Jul 2024 00:32:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F0E9D6B00C4; Thu, 4 Jul 2024 00:32:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id CFECC6B00C2 for <linux-mm@kvack.org>; Thu, 4 Jul 2024 00:32:37 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 9427B140AC0 for <linux-mm@kvack.org>; Thu, 4 Jul 2024 04:32:37 +0000 (UTC) X-FDA: 82300799154.27.A01FCCB Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by imf14.hostedemail.com (Postfix) with ESMTP id A2FF510000F for <linux-mm@kvack.org>; Thu, 4 Jul 2024 04:32:35 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=none; spf=pass (imf14.hostedemail.com: domain of osalvador@suse.de designates 195.135.223.131 as permitted sender) smtp.mailfrom=osalvador@suse.de; dmarc=pass (policy=none) header.from=suse.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1720067543; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lSf4BKmGPnBihL3uAt2bMjOwktH+wXyYKX1193FAJw8=; b=pGay7ft7uhkin3fsIWPIF3cbcMRKfONulmZPnf77vpyZN/5kCAROMMsvzElHv36jthA2j1 6SG/05j/J5d9iWdj+dhp48I2leQk+AbhJfXqPbklNzwJrt9bZnKD+7z2UqeEAPuhKWwdbp mof3/VbG+C0eOtLNT2LV2UPGp8eiTNs= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=none; spf=pass (imf14.hostedemail.com: domain of osalvador@suse.de designates 195.135.223.131 as permitted sender) smtp.mailfrom=osalvador@suse.de; dmarc=pass (policy=none) header.from=suse.de ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1720067543; a=rsa-sha256; cv=none; b=uMFRSp8JZeRP07UpSIOqsZCvyB458KVoGcpwPo2Jby6qEn/ReKAc78ccrdrkCsxN3C+ZAH 44ZJwOd/M+NBeJvCUq55NYJcek/i5U3DWlvFupwxSvePX+MzdOojfFVEbHz2sMEX4q6DZT r1J6Gb8AZFO5ZCqYYA+S+fP5LKLy8FQ= Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 6F06E1FCFA; Thu, 4 Jul 2024 04:32:34 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 3F79513A82; Thu, 4 Jul 2024 04:32:33 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id eMdVC+ElhmbnDAAAD6G6ig (envelope-from <osalvador@suse.de>); Thu, 04 Jul 2024 04:32:33 +0000 From: Oscar Salvador <osalvador@suse.de> To: Andrew Morton <akpm@linux-foundation.org> Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Peter Xu <peterx@redhat.com>, Muchun Song <muchun.song@linux.dev>, David Hildenbrand <david@redhat.com>, SeongJae Park <sj@kernel.org>, Miaohe Lin <linmiaohe@huawei.com>, Michal Hocko <mhocko@suse.com>, Matthew Wilcox <willy@infradead.org>, Christophe Leroy <christophe.leroy@csgroup.eu>, Oscar Salvador <osalvador@suse.de> Subject: [PATCH 35/45] arch/s390: Skip hugetlb vmas in thp_split_mm Date: Thu, 4 Jul 2024 06:31:22 +0200 Message-ID: <20240704043132.28501-36-osalvador@suse.de> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240704043132.28501-1-osalvador@suse.de> References: <20240704043132.28501-1-osalvador@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Action: no action X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: A2FF510000F X-Stat-Signature: whjsgb9wakax5138c4j6t6iqzqidnkgt X-HE-Tag: 1720067555-99674 X-HE-Meta: U2FsdGVkX1/IERPA0FhJComCaRf8yNfGvZGYUPIhMIOTegroAHQnxLJ1ZkGjqD5t35kpzOBjQW2VvxgAGmPc83wHgfsLOzB4bkacFjDSPQUYOrNtL/N3Kl09QMqLA3SJ9yrkZAaiwiXrEMo/T/DOhw1Mu/aguE5PQosuRcdMKM50CPtj9G9KJ4gk8TCwwPNpeGwzgO4fU3foRlH8GgJKbHSanrf6FOw+SrRQurFC0//okTFcaMf8ndnL4Z9QpXl5DPuQvMlqJVjaLknjnOtaVoX0owVLq4s2vcvkoAdqMi9yGvP5Ip3T6V2hJb/WZN/y+r7hTNxsTQHOPNzaCM9t26Y04UmrHK5V1IUfP1a1XAJAc2ArvFcJiboxOdgGyUy+T+2CWi7+k45FrybuWLpUZtmVtMkEe9hOb0zdXFHcxekLkYiB4PIz0vyNYNOpMZt5MlMVehd0c0kSEDs1Rh/GGIlmTTpr+jmI3Xqiioa5liYg2yRPteVEKX1PadhJ9a72qv7V7J3NmfHE/cfr6NVKtWi3fhQQYGWuSLllTUx6Un+27u3H6+hE6Dw5Ri/SaipweKf54b6ih5YRNGEbjAC0M/Zak/ki8T97UdO1SHr208beiKtvsqKfCmqwhhQiwmTZ5ozuAw8Kqt+lpEAUK3J7r8Xy4zT+RMnqgZvLozf/BktPMLt3XTc8voNV0lTTC/CL8MZGX/fsqu8GHo3Dyvw24Cbkem666sfLnF6IeEzWz0I4ieaRZZgk6XQ+JneBwAUZNm1oFFyT8KpupIycBXSMG9P1v/M+KWttZWUytzc9xc//XmLw3kakonnLPWvQRgHuRa2wSTrWLfR0FblY7iAGs/y3/FNafJTedBUCckr0aHVUF54cuRX9Pvl76sUhKyW1b49dcqAmdrooWvIFynpeHGRt+n9U42iAk4bzIMecTaKlT6WLkAqZSQLJ7REAJC27byJuMYewV08MDhjwQcE CiFU6dGz FrBMa+DtN0iOGfQ91EE6dWsPoX7bwEcGXHVae9uQ8EEDWd4qtn53/Uhav3eeBErGugjFHkRaS0hYC4SRd5b9BZfRnk6FTnjL3lqAt5j0ACoa/oLdrJh7DGSPMJ5VQ/eN9Jso7Tjqq6iXMYL/+GYRCbAdsHcAhbrPsUQ+pYSbz9TL6e6g= 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> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
hugetlb pagewalk unification
|
expand
|
diff --git a/arch/s390/mm/gmap.c b/arch/s390/mm/gmap.c index e1d098dc7f07..580e4ab6f018 100644 --- a/arch/s390/mm/gmap.c +++ b/arch/s390/mm/gmap.c @@ -2538,6 +2538,8 @@ static inline void thp_split_mm(struct mm_struct *mm) VMA_ITERATOR(vmi, mm, 0); for_each_vma(vmi, vma) { + if (is_vm_hugetlb_page(vma)) + continue; vm_flags_mod(vma, VM_NOHUGEPAGE, VM_HUGEPAGE); walk_page_vma(vma, &thp_split_walk_ops, NULL); }
Skip hugetlb vmas as we are not interested in those. Signed-off-by: Oscar Salvador <osalvador@suse.de> --- arch/s390/mm/gmap.c | 2 ++ 1 file changed, 2 insertions(+)