Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1636852pxb; Fri, 18 Feb 2022 12:00:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzptCLY3U5uZODj+vwjsCMnIdHnv0ZwBTzSvEU53QNdvbpOtHdLT1NPsuv0PKNAoRFeYOt X-Received: by 2002:a17:906:6b8e:b0:6cd:7d22:e5b6 with SMTP id l14-20020a1709066b8e00b006cd7d22e5b6mr8090271ejr.259.1645214404548; Fri, 18 Feb 2022 12:00:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645214404; cv=none; d=google.com; s=arc-20160816; b=1LGSM9+eGFO5MikpSKHvcsGmOUkRb/uEw5w49BDN2oL0vmkwoln0rsCM94vXVY6+zd zRbnsamdpAOfEIlrwmUgY+RxLfQTurY1HqPZwBkoJPtNSg6KciHLKdocDt2FnT6kTKZ+ UEjYIevIWv61k4K/y7R38eKmUUfnfzib+hFs3Pqw3B2Lx/TVRJgA6HiIWT8NuV74DOqE kvhPRCLdMy0jkJIGi4BC4EjPhStzYNOgtumNQb4/NcFWJeDZVFgJseTO6PRgv85rXGjC lXPRo2MmfKE5l+xPPZIn6L5roOVGfNNKM6yrUq4JDPB7qv4cGW811j4jGLgHqsX8sxp0 3FRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=vIkpufLaHWomrCJ+xAAMT1ICXqJemvgOc/ppLTAJsU8=; b=iDirVUchR/IzWb4WELYtMb1yyCHjcLwL1Cj6RL3+SJpd0WIV2BKagwaEfRbOy/F+A2 d3zI+si3gvU7m3z6NQmXO8Jxx0Qm547ZEmkLnEq/X5yLJ5Tz799Ev1+4P7CmGoxiV/h2 crHOtyCPIaAN+915kRQvWckJVmFUConQtzQWR9tpXqoC669FsWKrohw6r8NV+tAYdW4j bcJRb7I/u/WeEw36BjwY9yrCxREVV1mUxd72571bTraN0y2Fy384RK1qDK7W5jC54CSW KBc/DdcRQ23Xib0ZFOVR+NQQ6zpzwBxC8Rnu5YZw/vJEyeiP2jTEzr0I8DG+s5HjZg1y J5ng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u20si2142768ejy.95.2022.02.18.11.59.41; Fri, 18 Feb 2022 12:00:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236931AbiBRTX1 (ORCPT + 99 others); Fri, 18 Feb 2022 14:23:27 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:38566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236921AbiBRTXZ (ORCPT ); Fri, 18 Feb 2022 14:23:25 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81A36340FC for ; Fri, 18 Feb 2022 11:23:07 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id D7911CE3314 for ; Fri, 18 Feb 2022 19:23:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBF58C340E9; Fri, 18 Feb 2022 19:23:02 +0000 (UTC) Date: Fri, 18 Feb 2022 14:23:01 -0500 From: Steven Rostedt To: Matthew Wilcox Cc: Jakub =?UTF-8?B?TWF0xJtuYQ==?= , linux-mm@kvack.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, vbabka@suse.cz, mhocko@kernel.org, mgorman@techsingularity.net, liam.howlett@oracle.com, hughd@google.com, kirill@shutemov.name, riel@surriel.com, peterz@infradead.org Subject: Re: [RFC PATCH 4/4] [PATCH 4/4] mm: add tracing for VMA merges Message-ID: <20220218142301.0b5731e1@gandalf.local.home> In-Reply-To: References: <20220218122019.130274-1-matenajakub@gmail.com> <20220218122019.130274-5-matenajakub@gmail.com> <20220218130920.5902d967@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 18 Feb 2022 18:46:29 +0000 Matthew Wilcox wrote: > On Fri, Feb 18, 2022 at 01:09:20PM -0500, Steven Rostedt wrote: > > Please indent the above better. That is: > > > > __entry->diff_count = (merge_prev == AV_MERGE_DIFFERENT) > > + (merge_next == AV_MERGE_DIFFERENT) > > + (merge_both == AV_MERGE_DIFFERENT); > > I thought our coding style preferred trailing operators; that is: > > __entry->diff_count = (merge_prev == AV_MERGE_DIFFERENT) + > (merge_next == AV_MERGE_DIFFERENT) + > (merge_both == AV_MERGE_DIFFERENT); I'm OK with either. I just can't handle the original. -- Steve