Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1853628ybh; Thu, 23 Jul 2020 20:48:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMH0jzvjMGKyUobBX2D+pIdb3v9uWaMzOAaNIL79IiLRdEOb8y6Lb7a5EGNa5zNE3BR1FS X-Received: by 2002:aa7:c341:: with SMTP id j1mr7432744edr.197.1595562519890; Thu, 23 Jul 2020 20:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595562519; cv=none; d=google.com; s=arc-20160816; b=NonFHA6TWRufXccg4P0pgPxtAaVbBvvhMG2yrT2L/uqDKKauBe8CwjYxbCbkQxq5P1 t0qO+H1vclFwsJYrPcum/WCfm8BBMTVhE3k5c1KmnTXLhhDNcyAj7OOlS/LD/S/ZWZk4 9B2xcLcEwZx564e7XHO57we3M0L86lfZgEgP9+O1CNxWuWGZpWGmpk+RMNaGjiaMP7/9 TukpI9Y84CEAUHP3InKqjtudCo468KP86QhqdizTDKf89GsqXieZoREH6nMpeX8M02bo bjHCkHheVeftg+I65g9au7pt078yVVjXoZca8KY1NP8JIPDSXMWtqCaGb3TutwWQT/DD kK5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=k28nnbIjLpUaw48v3Wg0EF9RoEud+Xa2hvvVzYAxRhM=; b=J4bxFFY6ZYcW/gFaIgDNgp9Z8rpGO4GzlOZg6oZYt/wC94tuu4eQNvZaoq0Zs5EI5z QNJ01Nn3alum3X8BdDFw7ckvlupnm9D2tIFIydc/YoEpT9GKzltjRHAjOn82VzVvcdJS QPZ+KN7ikr68MbpY0FGsQ8pjtKlWpAww//UmuPMYA8bG+QlIxwQ/hnNcaQaaAVtS8ha6 6aRuamQtsSSXtmDXIcAm4CX3ZAxoJKBQvEpXP9dQPlZGexxietZeVsNtAt0A+wi4FSww nCh3Wg46GRdvYaskWYeMUP/zPSD5aBpVkafShIs/ypFEVaqVfLJIuuqgaCc9vDXQJp5L 0m8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BFmS6M5H; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u7si3179293ejn.161.2020.07.23.20.48.17; Thu, 23 Jul 2020 20:48:39 -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=@gmail.com header.s=20161025 header.b=BFmS6M5H; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726728AbgGXDrh (ORCPT + 99 others); Thu, 23 Jul 2020 23:47:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726503AbgGXDrh (ORCPT ); Thu, 23 Jul 2020 23:47:37 -0400 Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7106FC0619D3 for ; Thu, 23 Jul 2020 20:47:37 -0700 (PDT) Received: by mail-io1-xd41.google.com with SMTP id c16so8512605ioi.9 for ; Thu, 23 Jul 2020 20:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k28nnbIjLpUaw48v3Wg0EF9RoEud+Xa2hvvVzYAxRhM=; b=BFmS6M5HOfplD1ug0NC+yBsGlfECyobwZZSovY9+oxt4Em4q8pOAXos6rDvqJU//R8 TZ/HXImqWX1m2309WbS7mO4QxhTxwjxB9Iw2S71Bdgxs/sEVnvthNse4Xpoq4vm6qBGj agFmJgOg55XiTIZs5yUtYMEzoSbwdNiUGa4+syKojyN9palXySyA1MLU7M+To/hI/klI AudE0tjpqn5hbaQbWSs0mEjU5qf9xlcblgYlH72NrN0pJ0BTcZGLBg46g5rLYug9qkJE 2RfhFxfIB2I63xPsSXCWuUEIoKt14c9QQAdg6C9rUFtBnRjsJZepnanoT/MArA0aIHKN MEGA== 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=k28nnbIjLpUaw48v3Wg0EF9RoEud+Xa2hvvVzYAxRhM=; b=TUXT2Am4IBz5CvdUpJ5GEMHVLpowKsAfwwXHrirq5VnXUw4m/TGBDfCzCgdGWybAxy PCmnds1Dm28J5ceuCXSnjHjzeJYBA4y4sv07M1QhXJwVodw7w7kw3XHTjKitPBnxGHKr VZr3I4XWJPVEvZTXK7nFy8g5Hz4K5o+OalonpcGmJyShHoGmFwP+zJS6oHHQOOrpsa95 Q1cFr7U5qVFEpGdfm7HD8O5COfhTPPWi0KMqg1aZZt1UQTKG8CfTNhINuW8HX60DQILX JrR9enwsDzWFo9fYdsRGZOvo4pWBa7fQT7BRn8UoU+3VFCB7hCdpSLsYe70d8O+PSIKG kheQ== X-Gm-Message-State: AOAM530VKFOAVRnnOSLKOdEnn5/Uf5q6rbi9B5HkIKTdNr1pdO8KhqgU M28bfZV8Gvm6tEuSJ5MG8Ogxb/9AtgDSWAxN310= X-Received: by 2002:a02:a986:: with SMTP id q6mr8079962jam.93.1595562456535; Thu, 23 Jul 2020 20:47:36 -0700 (PDT) MIME-Version: 1.0 References: <20200721001505.GD19262@shao2-debian> <9a2a4086-fbad-b4f8-9c00-2b7606441022@intel.com> In-Reply-To: <9a2a4086-fbad-b4f8-9c00-2b7606441022@intel.com> From: Amir Goldstein Date: Fri, 24 Jul 2020 06:47:24 +0300 Message-ID: Subject: Re: [fsnotify] c738fbabb0: will-it-scale.per_process_ops -9.5% regression To: Rong Chen Cc: Jan Kara , LKML , lkp@lists.01.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 24, 2020 at 5:45 AM Rong Chen wrote: > > > > On 7/21/20 11:59 PM, Amir Goldstein wrote: > > On Tue, Jul 21, 2020 at 3:15 AM kernel test robot wrote: > >> Greeting, > >> > >> FYI, we noticed a -9.5% regression of will-it-scale.per_process_ops due to commit: > >> > >> > >> commit: c738fbabb0ff62d0f9a9572e56e65d05a1b34c6a ("fsnotify: fold fsnotify() call into fsnotify_parent()") > > Strange, that's a pretty dumb patch moving some inlined code from one > > function to > > another (assuming there are no fsnotify marks in this test). > > > > Unless I am missing something the only thing that changes slightly is > > an extra d_inode(file->f_path.dentry) deference. > > I can get rid of it. > > > > Is it possible to ask for a re-test with fix patch (attached)? > > Hi Amir, > > We failed to apply this patch, could you tell us the base commit or the > base branch? > Hi Rong, The patch is applied on top of the reported offending commit: c738fbabb0ff62d0f9a9572e56e65d05a1b34c6a ("fsnotify: fold fsnotify() call into fsnotify_parent()") I pushed it to my github: https://github.com/amir73il/linux/commits/for_lkp Thanks, Amir.