Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2826288pxj; Mon, 14 Jun 2021 08:03:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWSRnO9VWI0CyYtYQDPig6NNfV4nCYC20iadaLYqmMfkrEkSxziEJDcFSGSsVXSt3cQtli X-Received: by 2002:a05:6402:4301:: with SMTP id m1mr17739309edc.303.1623683012457; Mon, 14 Jun 2021 08:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623683012; cv=none; d=google.com; s=arc-20160816; b=ZyfjNcWJalo1Rd1Ghee+vgWhOu7ytsWt/muorV7+bJsMmizVQ8tSdDhTTP0d2oMhgS NmgcrSRZJR4d9MknQiAO8BI+6kDNkQE55BV9ermGEmFplz5O18riKbTDhdrF7HWGiMA8 YB8msYPWQO7I1TWAeCcadnFyNi2hYDXj+/RLOyEv6Ma97O7wwzfIs036U21ZR00I8yoZ dt8cR318Nkd3w4beXZ4Wu9lBUgIGrXoxZTVwMMgnkb0qbDGscvbY9bfJirIgGrECvX7K 7xlAellC5nvQGfkUN1BkfMY8c51EC+2ZrWZE8Kt85OlHn93me6FKNDU5yLK2pUBG6VCP jg1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=G2ifPKFPXw+H1+XH/FElieTkSuvTHAXJjptrAzf+O/o=; b=MRfKpac+jbapPk//v0/h41QI+e0esgUWfDEh7b8YD1zB59R/jGGc9HdC5G1otJTeGO rMSdLtou6uaNO6YUDoLj0JF8Qz6ydYWmM9pgVxhcZ4W0uRA6J/lSxtm38fgINTB76a1u +p9j524I+HYWyh5edhwc8JIwW7x2tGtxkYC9rjZYjw2Gyix16O8OSiEmNrhXV2/stNHo fRigyUt6NH9h2BDTW3NxlyDZt8aTVmhKkity/j1rM7+1ePVadG3vefFw740CGJnDhwmW ztCCNbZntVyUldKXDiDmr8z2GQVcw3/sjqCZm1lOYhKRWuNgW8DXRQVxSGF2ZNcN2svl uqJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=WFXINDqa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si12509093edq.391.2021.06.14.08.03.00; Mon, 14 Jun 2021 08:03:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=WFXINDqa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232958AbhFNPBo (ORCPT + 99 others); Mon, 14 Jun 2021 11:01:44 -0400 Received: from mail-lj1-f177.google.com ([209.85.208.177]:44569 "EHLO mail-lj1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232919AbhFNPBa (ORCPT ); Mon, 14 Jun 2021 11:01:30 -0400 Received: by mail-lj1-f177.google.com with SMTP id d2so20508297ljj.11 for ; Mon, 14 Jun 2021 07:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G2ifPKFPXw+H1+XH/FElieTkSuvTHAXJjptrAzf+O/o=; b=WFXINDqaAXfBVeiL3HnMRcJ+t27wzLTnISKsyZAtOmblsbkkBS4MCZ46zTlpjK4JvE /Pf+CdFhiSbVJ/W6e+PMAKVo3D+wnSihIYddEJpNrYHpmPks3H0BOj3zjmhn+6Kz4PNb uMNIHC0LKBqWwfD7FT2jfCqBDQsPnct2KsDuI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G2ifPKFPXw+H1+XH/FElieTkSuvTHAXJjptrAzf+O/o=; b=jo8LNeg1EzcK/cye7TIc3MaZIu9OTQBhLp/GvtBFBjFPr6iDlKlm6ObN7UiwnN9vki lY2XdIyEzzil/Xvc4SUbM/QBbbKKaS7oX5SgIQV1vCfPr80FPQnRvAiyXKdWgx3pVeiD PeYpLO56FNwuHe6/DRY8EZD4Onkr1/+HJZhxYNFNjWy32S34oIvbTh7VnJg1S/K77ABn OBFQLDsbNcB+L2pZWjJvsf4ni48w+/Ra48Mww2HVinOkl4ASL5/9+yDNPKMUerssrNGy k0M3VzYqdkjn2TqIx//hpTKgb5NPW7gLw26TREsY5nE2vv2JZGqO3RzzSa5mDDB9Hsr8 UJ2w== X-Gm-Message-State: AOAM532HznVYtGYkQmVMDaFTBiSIpSA+ZAqHFGwkTU6gG9YQJGZAi5yQ nKxjXPWNAWR6kmBZQSMscs5gELlgPwTJbW/J X-Received: by 2002:a05:651c:211d:: with SMTP id a29mr14134929ljq.115.1623682705467; Mon, 14 Jun 2021 07:58:25 -0700 (PDT) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com. [209.85.208.180]) by smtp.gmail.com with ESMTPSA id z139sm1626944lfc.150.2021.06.14.07.58.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Jun 2021 07:58:23 -0700 (PDT) Received: by mail-lj1-f180.google.com with SMTP id k8so3680598lja.4 for ; Mon, 14 Jun 2021 07:58:23 -0700 (PDT) X-Received: by 2002:a2e:a549:: with SMTP id e9mr2705701ljn.411.1623682703202; Mon, 14 Jun 2021 07:58:23 -0700 (PDT) MIME-Version: 1.0 References: <20210607055131.156184-3-aneesh.kumar@linux.ibm.com> <20210614145536.GB28801@xsang-OptiPlex-9020> In-Reply-To: <20210614145536.GB28801@xsang-OptiPlex-9020> From: Linus Torvalds Date: Mon, 14 Jun 2021 07:58:07 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [mm/mremap] ecf8443e51: vm-scalability.throughput -29.4% regression To: kernel test robot Cc: "Aneesh Kumar K.V" , 0day robot , LKML , lkp@lists.01.org, "Huang, Ying" , Feng Tang , Zhengjun Xing , Linux-MM , Andrew Morton , Michael Ellerman , linuxppc-dev , Kalesh Singh , Nick Piggin , Joel Fernandes , Christophe Leroy , "Kirill A . Shutemov" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 14, 2021 at 7:39 AM kernel test robot wrote: > > FYI, we noticed a -29.4% regression of vm-scalability.throughput due to commit: > ecf8443e51a8 ("[PATCH v7 02/11] mm/mremap: Fix race between MOVE_PUD mremap and pageout") Ouch. I guess it's not a huge surprise, but that's a fairly large regression. Probably because the pud lock is just one single lock ("No scalability reason to split PUD locks yet"). What happens if pud_lockptr() were to do the same thing that pmd_lockptr() does? Linus