From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02F85C433EF for ; Fri, 3 Sep 2021 10:57:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CC48A6101A for ; Fri, 3 Sep 2021 10:57:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245671AbhICK6h (ORCPT ); Fri, 3 Sep 2021 06:58:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231497AbhICK6f (ORCPT ); Fri, 3 Sep 2021 06:58:35 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC3EEC061575 for ; Fri, 3 Sep 2021 03:57:35 -0700 (PDT) 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=pH6lyDsQLhgwMRLaWAWREDHIGMEyG56GDfi7GMO4tkM=; b=R+d22mg7A8AZCCfbCSmQhdRSAz bTpNJ84Bo4LuaADHlzUZuChvW7X6peHqeJZK64Ng1y1zh13tojjJakiGQhuWh5l51rWB+GWeJLO4X fMb3Sw9Q+hq88cEJhZAa0znvoiJ9JFUV1gu1qPw6DQaOYZ22W9a2m/6BLCuJfDKlsjHYabGykiSAM TAucwNgLoblRVqejNTzXAEozMjho5QTWTR8pwNt1s1RYQC19XHVamkZFnObK62O5UMLuX3TZEKLTn bQVMP/J6iNJNBRomPkRC9e5zokLZ33WNNxo6ehF7CA6loMkxwt1m9rnELq4tDuCb8KZa0Qp35BRIX E0pp7O4A==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mM6qm-004NOh-Fv; Fri, 03 Sep 2021 10:56:17 +0000 Date: Fri, 3 Sep 2021 11:55:12 +0100 From: Matthew Wilcox To: Liam Howlett Cc: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Andrew Morton , Steven Rostedt , Michel Lespinasse , Vlastimil Babka Subject: Re: [PATCH v2] mmap_lock: Change trace and locking order Message-ID: References: <20210903022041.1843024-1-Liam.Howlett@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210903022041.1843024-1-Liam.Howlett@oracle.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 03, 2021 at 02:21:05AM +0000, Liam Howlett wrote: > Print to the trace log before releasing the lock to avoid racing with > other trace log printers of the same lock type. > > Signed-off-by: Liam R. Howlett > Suggested-by: Steven Rostedt (VMware) Reviewed-by: Matthew Wilcox (Oracle)