From patchwork Wed Apr 17 09:23:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Hildenbrand X-Patchwork-Id: 13633094 Return-Path: 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 33094C4345F for ; Wed, 17 Apr 2024 09:23:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8AC356B0098; Wed, 17 Apr 2024 05:23:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 85C6E6B009A; Wed, 17 Apr 2024 05:23:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 74A686B009B; Wed, 17 Apr 2024 05:23:26 -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 56C4C6B0098 for ; Wed, 17 Apr 2024 05:23:26 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 0584280DC7 for ; Wed, 17 Apr 2024 09:23:26 +0000 (UTC) X-FDA: 82018485612.22.5BB2853 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf11.hostedemail.com (Postfix) with ESMTP id 63A7940007 for ; Wed, 17 Apr 2024 09:23:24 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=I7ol9Frh; spf=pass (imf11.hostedemail.com: domain of david@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1713345804; 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:references:dkim-signature; bh=wRALUHhCTPk5aVMKCZs8Z/x2U++tzqWFRV8+xLfn/RM=; b=zJUsQL7MO2V4P/++/gEcPuGvWNQBN72Iwh/6SUaOsPYrgB9IPK7UdstgrD0q+gtCTwuoON L/Pp20vBza82PiYwBbxQsHxE/TFFJJKbsTdRIzu6YdMaZs/nke50YxsNmBFfaJU75MrZA1 ISd2rE+dXsrk8VDvm2bXk+kzN3bZqvM= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1713345804; a=rsa-sha256; cv=none; b=mUfes37OjDyrM+b2YHh2kPg6jMxH6S4s89jno8O432Xpcbc0KxsNnIT1g251qY51devKAM Fy++IgmC6VER1gPyuKjit4RnsIqtV1HZJrYbyJ+Pw4LaP1bA9+c5n5AOp1Q795JzDuKGyG Hz33ndFBmIz6zbhOazydr/P44JK16y8= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=I7ol9Frh; spf=pass (imf11.hostedemail.com: domain of david@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (policy=none) header.from=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713345803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=wRALUHhCTPk5aVMKCZs8Z/x2U++tzqWFRV8+xLfn/RM=; b=I7ol9Frhfo9TaoHvJNK/6/ieuNtzwlP6XsF4Ph5XI0/mN1NIvhAnY3+XWQ6p+ojJlIg7ft PDzlUbCzjY9dXJ4rfTV5LkeIHxM60sqIi6yIEI+oWVu5NVGsXwb5H8Lp/tTFQaU1HxpRbR hgbhM/qMgXHC+6MssRjQttYASSX2BuM= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-664-q5abbk0-MmOAKfyrO-Ikcg-1; Wed, 17 Apr 2024 05:23:21 -0400 X-MC-Unique: q5abbk0-MmOAKfyrO-Ikcg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9DF4A830E91; Wed, 17 Apr 2024 09:23:20 +0000 (UTC) Received: from t14s.fritz.box (unknown [10.39.193.252]) by smtp.corp.redhat.com (Postfix) with ESMTP id C105B2166B31; Wed, 17 Apr 2024 09:23:18 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, David Hildenbrand , Andrew Morton , Muchun Song Subject: [PATCH v1 0/2] fs/proc/task_mmu: convert hugetlb functions to work on folis Date: Wed, 17 Apr 2024 11:23:11 +0200 Message-ID: <20240417092313.753919-1-david@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 X-Stat-Signature: c5tup6zppbbx61kj5jxqnkfqx3wdo5ec X-Rspamd-Queue-Id: 63A7940007 X-Rspamd-Server: rspam06 X-Rspam-User: X-HE-Tag: 1713345804-515520 X-HE-Meta: U2FsdGVkX180OyxvKdEgVCRed6ziZW/kz4ncwLyQaJ1uS/ZXHnOv2Q7TjPoF5XwiaLeUxxv3d/nsBmS3nruZfeM/zqRPh55KTa5TreZbEgywXdKjVqq/hSpMM5L9bEQ5lpZOf8GChKKDRSmjo8BD9CbwZ6UzVrhaxHPSLOUCh0D5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Laao8ao 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: List-Subscribe: List-Unsubscribe: Let's convert two more functions, getting rid of two more page_mapcount() calls. Cc: Andrew Morton Cc: Muchun Song David Hildenbrand (2): fs/proc/task_mmu: convert pagemap_hugetlb_range() to work on folios fs/proc/task_mmu: convert smaps_hugetlb_range() to work on folios fs/proc/task_mmu.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-)