Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1245589rdh; Fri, 24 Nov 2023 08:08:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IED3UOIyaahwtuaVhFilfVBvCSKYm6Lp3ZBYuXhuTEKL0Eg+rw6IcZnpxBrwrc6Q1fxPNY+ X-Received: by 2002:a05:6808:1242:b0:3b2:d6ce:f582 with SMTP id o2-20020a056808124200b003b2d6cef582mr3780510oiv.34.1700842091319; Fri, 24 Nov 2023 08:08:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700842091; cv=none; d=google.com; s=arc-20160816; b=asccvDaXWC1/b4ehctjb1lAx+rLq/H4iuDaaTcYPl7hdbpTSe4tveLlgsbNi6mPVMZ 0rqosCVE3T5aBVRTY4HcbF9KgN1YaDem37VcXqcr850C7DltpYrxfhVIqwrPhikeJDKr 4cYYXlh1D8Za7MT1v7v5eVG9RRAmly0eFFUgy6GMOTSBs2BAFodcgokX1j/a3obSiY2k fRlmawPZfgNaQaLgOjgdVFMlIP1QZNjhcICzXKGm6bFVkItNC8c6P/6fUd1vcp3q80rw RcdWCBdRRWn52aA3hja9BeZwSNjl2tCrophwmmkTRFzTm721N1wnSiYWI6E0FaYTF8Z7 8ICw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=suN3V9rM6JohMwlCsG7PmWxd2SZ7oRR+3sWHfaA95QU=; fh=V1UiOHA0maIBv7dqAt578QDRKSrC0qNmD3y3v+8HN+4=; b=C8yVvJzTAGildFWWp0D+kZVueOTL9Fy9VYvKotpr3KY1EWaGovcZpxBl+cW9LdSpok NcRdFCbztyxNEi+Tzf8I3DhK3+2YdEL7h5W6+ZRWdh0Yw+TapiKT522E940kfQN+SPM5 l1u5e7Fuk1teVEdrwXgaDNoQdDpFKSzkGSBqpvKmPjfbwFR55tXLA2L9/pb81NoQPydS 0PVJnKbYFVAts80iddDBmyHxO0BpxxisGbIVAfzQT7/Ap+YwuYfWsh8cs84Qhp8Izrli cU7B7ORqrEnKrpwraJtJ8YcUGDUUNmJoYNUKcu7olyclLEqczVDtf2Gz5hnc+3u6hY1E qCqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aIHiIM15; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id bj34-20020a05680819a200b003ae460f9363si1575599oib.197.2023.11.24.08.08.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 08:08:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aIHiIM15; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 92E3580B64FC; Fri, 24 Nov 2023 08:08:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231200AbjKXQHx (ORCPT + 99 others); Fri, 24 Nov 2023 11:07:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229659AbjKXQHv (ORCPT ); Fri, 24 Nov 2023 11:07:51 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DADF719A3 for ; Fri, 24 Nov 2023 08:07:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700842077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=suN3V9rM6JohMwlCsG7PmWxd2SZ7oRR+3sWHfaA95QU=; b=aIHiIM15NTT9T9qSPGtHyNmKHbZ951tQHgdH/TMWA534tG4jke0tKqBi63kdKEaRqYFCit Dty6Skd+31n3JdTnN6dxwct2fr+R2mYG1sheU3yMDnPM37ZCjypr77kd9CDxPzRcmCzBFP OPbBNdGy2QTgQzvppZ1OjghmrwHqWXI= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-512-pweq2ToSNYqgvye9WYTjpA-1; Fri, 24 Nov 2023 11:07:55 -0500 X-MC-Unique: pweq2ToSNYqgvye9WYTjpA-1 Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-41e1d5557a9so4174921cf.0 for ; Fri, 24 Nov 2023 08:07:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700842075; x=1701446875; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=suN3V9rM6JohMwlCsG7PmWxd2SZ7oRR+3sWHfaA95QU=; b=DKvP0BVYd9Zt2zkNjkjzgyE5/1N9SwjlQbSvqpOzYqfdgbG/CPdtuMMSlr9UFiP3Hx qfbzoJXL1hMlKrVHJSaI26uf1jo+o/CDDwMJjjzaoSs+Pjpmq2wiVSrUGI6OG7D38dsw 1ZjsnHPYGpPOYp7OOUE1MySfqsHZvPrgS9N8UOwkNi9vq29fE7WOB9KIz4/kLPYmRf50 WCF3/cENYgnmtjyezU7r0Pzut038Ejl9JtGsQrZm5eTB8x6G+yba1u9Omx2rqUC92ZtU PK2uFGE63ySQYdhGR8cJez49FJ8Fot+CYbtDBbGAdNmU350nZnb2CLhWzRHD5WKiKc81 ntng== X-Gm-Message-State: AOJu0Yz1j0bz6vK0gRcHU1QQJ+okjxf3mDKIJ6WgcoNkI3FHmLsuX8g1 2My52W4e1TxUf06FhsLtPsCKM2U6Fh+slCsCI3AbrO0/l+l2rfz4Li4TTxgUyx78k+DrG/RxbyF 0hz+IT0ZUzeZhQbQep/fWKByH X-Received: by 2002:a05:622a:199a:b0:421:aed7:d588 with SMTP id u26-20020a05622a199a00b00421aed7d588mr3709081qtc.5.1700842075384; Fri, 24 Nov 2023 08:07:55 -0800 (PST) X-Received: by 2002:a05:622a:199a:b0:421:aed7:d588 with SMTP id u26-20020a05622a199a00b00421aed7d588mr3709008qtc.5.1700842074459; Fri, 24 Nov 2023 08:07:54 -0800 (PST) Received: from x1n (cpe688f2e2cb7c3-cm688f2e2cb7c0.cpe.net.cable.rogers.com. [99.254.121.117]) by smtp.gmail.com with ESMTPSA id cf9-20020a05622a400900b0042380fb7ba0sm275601qtb.7.2023.11.24.08.07.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 08:07:54 -0800 (PST) Date: Fri, 24 Nov 2023 11:07:51 -0500 From: Peter Xu To: Ryan Roberts Cc: Matthew Wilcox , Christoph Hellwig , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrea Arcangeli , James Houghton , Lorenzo Stoakes , David Hildenbrand , Vlastimil Babka , John Hubbard , Yang Shi , Rik van Riel , Hugh Dickins , Jason Gunthorpe , Axel Rasmussen , "Kirill A . Shutemov" , Andrew Morton , linuxppc-dev@lists.ozlabs.org, Mike Rapoport , Mike Kravetz Subject: Re: [PATCH RFC 06/12] mm/gup: Drop folio_fast_pin_allowed() in hugepd processing Message-ID: References: <20231116012908.392077-1-peterx@redhat.com> <20231116012908.392077-7-peterx@redhat.com> <510adc26-9aed-4745-8807-dba071fadbbe@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <510adc26-9aed-4745-8807-dba071fadbbe@arm.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 24 Nov 2023 08:08:08 -0800 (PST) On Fri, Nov 24, 2023 at 09:06:01AM +0000, Ryan Roberts wrote: > I don't have any micro-benchmarks for GUP though, if that's your question. Is > there an easy-to-use test I can run to get some numbers? I'd be happy to try it out. Thanks Ryan. Then nothing is needed to be tested if gup is not yet touched from your side, afaict. I'll see whether I can provide some rough numbers instead in the next post (I'll probably only be able to test it in a VM, though, but hopefully that should still reflect mostly the truth). -- Peter Xu