From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CCB47C61DF4 for ; Fri, 24 Nov 2023 16:08:55 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=RlFsV7mZ; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=RlFsV7mZ; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4ScKfZ3Hsjz3vcP for ; Sat, 25 Nov 2023 03:08:54 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=RlFsV7mZ; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=RlFsV7mZ; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=redhat.com (client-ip=170.10.129.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=peterx@redhat.com; receiver=lists.ozlabs.org) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 4ScKdZ40YDz3d8p for ; Sat, 25 Nov 2023 03:08:02 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700842079; 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=RlFsV7mZ9Lb9QzQIvEy/FOIlM7UbxltRo8lrVElA4dAoLlY7xBUVeRj6/82uNn1VHPgijM nJoMSL5rJiQVvCc9VGZlKbSLCD0zlI6oPN4jnITQs+H6qQuZ263Okd2PB9k/vBDcNchYnl BwVawC60N4elkIY2VKAcugRQpPEmxW0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700842079; 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=RlFsV7mZ9Lb9QzQIvEy/FOIlM7UbxltRo8lrVElA4dAoLlY7xBUVeRj6/82uNn1VHPgijM nJoMSL5rJiQVvCc9VGZlKbSLCD0zlI6oPN4jnITQs+H6qQuZ263Okd2PB9k/vBDcNchYnl BwVawC60N4elkIY2VKAcugRQpPEmxW0= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-645--5K5v96uNCWBj_00SOZU9w-1; Fri, 24 Nov 2023 11:07:55 -0500 X-MC-Unique: -5K5v96uNCWBj_00SOZU9w-1 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-4239693aebcso1211551cf.1 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=CHdFG0gUFCsjbwKzRSfk7gC7qXW50nuIVOMKClFbWN5+UkudWltxetS929U/AcEAcE T4RtNO5JCmj7qCrmdg++qOIROVCnZbEv6Oc2xnJpgt09abQEdCmP+QsfPHkqse+sYwKj /LcKHCiUOoGfsKAAMM4sf/rpOY/tmd9nKuf0oGXqdzWbWgAVTHyDC+Xtpyvltr2c0ZkU k/YHADYLxIhYKgG9GOyWWiB8LXrsfwjsyM35gr4EX0nbVwINM4iIpy4rVQq51sRKjfzx PzIf/xbVjoGH+elUCFz8oC+nCtiCv8XyQNNmi1NiTxxl2IOP7OUDIlZ1RW90igpEpPqV 4EvQ== X-Gm-Message-State: AOJu0Yyw/WxlPb8ns6JC4pfcKTKU0zcH5I2Eywb4kYhF2HXH/X4sGP4t b6P9jm9jo9C0DhSPswPE+IfhKw2zFqH+2SlV3iJfSVfsgrDmzcGoyNWZG09fyBxdKROtRwGXxJt jVHxf2O21xrQVbC/m9SqQP+ofNw== X-Received: by 2002:a05:622a:199a:b0:421:aed7:d588 with SMTP id u26-20020a05622a199a00b00421aed7d588mr3709088qtc.5.1700842075390; Fri, 24 Nov 2023 08:07:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGOd7ZcfkjfEnW/YGYpjdepTXsBQmefBUFY1Iktas3x8VnzCdZbnMDFzkUAABAl6vehhFBtZg== 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 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 In-Reply-To: <510adc26-9aed-4745-8807-dba071fadbbe@arm.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Arcangeli , James Houghton , Lorenzo Stoakes , David Hildenbrand , John Hubbard , Yang Shi , Rik van Riel , Hugh Dickins , linux-kernel@vger.kernel.org, Matthew Wilcox , Christoph Hellwig , linux-mm@kvack.org, Mike Rapoport , Jason Gunthorpe , "Kirill A . Shutemov" , Axel Rasmussen , Andrew Morton , linuxppc-dev@lists.ozlabs.org, Vlastimil Babka , Mike Kravetz Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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