Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp488459lqb; Wed, 17 Apr 2024 02:24:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVcleGzGS4MQsj8oKu+JX4Q/55gUosC26OAJuImKbmTXS4tWv+yKg85OZy+rYvreR+QwopaNELWCXiEl1TTgQRbYAm2Ls52ZYavEg8QdQ== X-Google-Smtp-Source: AGHT+IHPJFOo4gvnzstYTPR64UCIsGUlLXhTqmRlDuNxs4gh7tf1Qidta2z4gj5QMWf+0FBJI7Uo X-Received: by 2002:a17:907:7208:b0:a51:bddf:eaf2 with SMTP id dr8-20020a170907720800b00a51bddfeaf2mr14963477ejc.18.1713345852140; Wed, 17 Apr 2024 02:24:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713345852; cv=pass; d=google.com; s=arc-20160816; b=GyuNWAOmZEaYFgrQUKociNCbnlnbupnaRBFOpyK/HSzN38SRPA3sNSawh5qoQl1iVZ cSAZJYrglcFmiX01pMGFpZyWUtXbMXR/AMTayTPXQCgDmZXlsrF0jU3a8HZnMkk5r/OT Pa+2O7xrzGy/c1KdlZwY84f523GDTYkc5iQ0i2HVmkFAxhrjgWZfEFpl4CLJSdjz7G4y 8hwxyRmR8DdbJPHcXNMe3NYmOUsU2cnJWNFsCTnHjKch1BXzebIDx368KbQjqXAQvVLq QaPJalUD7qhR2vIB5OSlz39BBOX++LojdwQbkMsFivkJrdBzct1kZCOhnUdzKem1IX/U RzzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=wRALUHhCTPk5aVMKCZs8Z/x2U++tzqWFRV8+xLfn/RM=; fh=dN+lmeKbw3g23l3XKnpvrFEknhHH3YnG/nqDBcmxas4=; b=OIcTUHkIiai8GVfHUZH6gpz8cw5zxvW5X8BFGXzXiCmSwe4M0JlDqChps6bUsNnCB1 AMvrH9nD7PFjZqEgLRFf/cefNJ+Wg7LOS4fYelGgsXkRcN4yY2kTcubA9iwFnx9eJqkL D5qBQ8MjtTonA2QHnb3KVTg/JURQSBPnTgk4sKLCsfwFqsnQcslyc7BDYc+emBWwaQNw cLwJen9gageEfVHRBzzIaeqndtf2F8xt+5tX7eI9XGXSMj4sh60l8pvsMOCUQkS3pdtX MhJL+/tt/MM2OTmdpBrPnIaoHDPjqet+PYMlWbdTwGjtFfnROlBrMV9z19CHRbdtXtg6 vPpg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OxSglRSX; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-148226-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148226-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ga35-20020a1709070c2300b00a522897bfa3si6697993ejc.310.2024.04.17.02.24.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 02:24:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148226-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OxSglRSX; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-148226-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148226-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D865B1F2147F for ; Wed, 17 Apr 2024 09:24:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24B2312FF72; Wed, 17 Apr 2024 09:23:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="OxSglRSX" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D91F5139562 for ; Wed, 17 Apr 2024 09:23:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713345819; cv=none; b=FNJmTxQKiuj59GLkNj0prDcTbilriObNONruIyJ1BePgEtJXJWIyY17IqW+QPOR1SrX4wJOdXEnK1DZkMcZXmTbsuj76U7AlQJJmv8/gdR6bYbMtbU8MWq0qSr2qq3TCLUkebzWsa4JyWeAP4hQNR5Ay5MJoc7HjgwbMCkvKXSQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713345819; c=relaxed/simple; bh=ifRF7MXrQq10i+uw8Rl4fho6IifyZNHb6ek51KO9eBY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HOnkxpUERzR+qkRZK50Hqhiw904mxGEWPATxikHbiID+STK1NKz2fjJQkJfvNj/uVwbjz1IOSPnZK12W0fv3xcUelZHT63jkRXWezS8Ysj2c0CLeZElK7goM4aHcGUAd+tK3tIQT88eoBHC8ezp2qZFPVpFhSdUVehsukYMrtbY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=OxSglRSX; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713345817; 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=OxSglRSXKtnfw+sfp+okXw1/StHVHaNZW+7fuGYjAMDZenOXEBA/g44CoDw8i32An1koGq AaYiWmtyBeII9COAcAex6jDImIm/prTHIrVdiaL3ApSbpMyjr5y6o5RKumYc6gn9fS7f1J Zm7+W82fn9iqhlaRniDKjIBfmw2OmCQ= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 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(-) -- 2.44.0