Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1660819pxb; Fri, 18 Feb 2022 12:32:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJymNzNHoSPfdIkxQJBuTcsK88FNc7RKQ04e4hzQEm+jzjx3+uX6DuhY87bFiRzc9ZFUVfoO X-Received: by 2002:a50:c042:0:b0:409:be35:5a7b with SMTP id u2-20020a50c042000000b00409be355a7bmr10225231edd.379.1645216363681; Fri, 18 Feb 2022 12:32:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645216363; cv=none; d=google.com; s=arc-20160816; b=1J6S5x59xmP1zPo9cqX2mqLQ53VbVAeSkGWhltSNltVP6MSXScCs/citWAPtQD9Kgf uC5gSg5Y1qytXw1J6X6abZ1chjINJKj1O5RiiNtT0rE8QSOUNJ5hldgg53Tx8xUhyxRU rkLnC55Cn7HwVnrlJPK698xbLbpxYfqFGRqlR7ri7RUetuacPI+dyvruiXCTSWwG750P KnqSdm0JppEl3I4sP0OvZK/vNM408FVTrKNwap6tPdQcQLwjZaKP/LPode5ns65eKQ+8 GCYpY1knNWMR6InQdSF2M0naTxAblUJvh6dkDxqaB4KPEza9sraIvSbx4UD36oxS/xDW 2xtA== 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=tx5f0UJcnj4R4TQ9Q7WxhcrF/JhIh7OvVd5/el1oJq8=; b=xhNUMH3AppkfNp+XcsrlMQetwM4KPKfe4sg5ZvHQtUAcTU9Eiu5qMzP0LgOilZZTnh qcgQL4WzULw49Us1lVHp37jsP58rrGcrcF8PQjCLHkrwoAu93qa8Ne8aAQafAONttqwJ UEDEBbt+lYBPnunZeDtdjDlJkHK3pZAnXZUzO9tocjiAPiBu+vsOzXbHLfN75ljD6+j7 +W9Lp0cKu+TFidVrBK8+WEx6N+2gbvBxBAtCo1ozZ+ezWlm7k9/IHrDoKcPaIryyshtw 0k96eEPXj+cy4u014jVAiiouWaYlG+jsahrnTUADqldwuowG+IJP1l+buf5ZasqjYKjl kJBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ey0q4gnD; 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 p12si4321085ejy.339.2022.02.18.12.32.19; Fri, 18 Feb 2022 12:32:43 -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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ey0q4gnD; 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 S237716AbiBRSrH (ORCPT + 99 others); Fri, 18 Feb 2022 13:47:07 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:40894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231462AbiBRSrG (ORCPT ); Fri, 18 Feb 2022 13:47:06 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91E88D6A for ; Fri, 18 Feb 2022 10:46:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=tx5f0UJcnj4R4TQ9Q7WxhcrF/JhIh7OvVd5/el1oJq8=; b=ey0q4gnDN4OAF8aBKVU9l6rjjr SrFhHlNWfk+cJDXcEuK4fKsOj3WawdGMMseCJOjiKTJ5jRGKcWNSnmD+LjeKbgGcgkXWzUARq2tjr ph6jmD0I8IIjefo+toFeEoo+1isV3SavZG/j7vTRZcBE6b8xWFJFmnWVVZ1ONQuEghbzYsjMg7uM3 bBuHy1zb+Rmrp+xa8pj1Y2cR7or9Nroof+zEaVCzm8w84Xy+1fvD+tEDFREbdSx7jY/x/uhgDqP8h KE1g9nBEtg6E3VAx0tMSIRhvFMfCb+vBrpAiPh0ERnNNXwt1U9KPowUk/lcBMa2DsN/M/neeuOOe4 i/J1cHwg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nL8Gz-00Gq2v-9i; Fri, 18 Feb 2022 18:46:29 +0000 Date: Fri, 18 Feb 2022 18:46:29 +0000 From: Matthew Wilcox To: Steven Rostedt Cc: Jakub =?utf-8?Q?Mat=C4=9Bna?= , 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: References: <20220218122019.130274-1-matenajakub@gmail.com> <20220218122019.130274-5-matenajakub@gmail.com> <20220218130920.5902d967@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220218130920.5902d967@gandalf.local.home> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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, 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);