Re: [RFC PATCH 4/4] [PATCH 4/4] mm: add tracing for VMA merges

From: Matthew Wilcox
Date: Fri Feb 18 2022 - 13:46:53 EST


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);