Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B56DC678D5 for ; Wed, 8 Mar 2023 20:41:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230362AbjCHUlX (ORCPT ); Wed, 8 Mar 2023 15:41:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjCHUlU (ORCPT ); Wed, 8 Mar 2023 15:41:20 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90D306A2DA for ; Wed, 8 Mar 2023 12:41:15 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 1996061902 for ; Wed, 8 Mar 2023 20:41:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D186C433EF; Wed, 8 Mar 2023 20:41:13 +0000 (UTC) Date: Wed, 8 Mar 2023 15:41:11 -0500 From: Steven Rostedt To: John Stultz Cc: LKML , Wei Wang , Midas Chien , Kees Cook , Anton Vorontsov , "Guilherme G. Piccoli" , Tony Luck , kernel-team@android.com, Thomas Gleixner , Peter Zijlstra , Sebastian Andrzej Siewior Subject: Re: [PATCH] pstore: Revert pmsg_lock back to a normal mutex Message-ID: <20230308154111.483a686f@gandalf.local.home> In-Reply-To: References: <20230302062741.483079-1-jstultz@google.com> <20230302082414.77613351@gandalf.local.home> <20230302152103.2618f1b7@gandalf.local.home> <20230302163253.541ac3a8@gandalf.local.home> <20230302163603.223313ba@gandalf.local.home> <20230302165613.2dcc18ca@gandalf.local.home> <20230302200136.381468f0@gandalf.local.home> <20230307203122.14b077c4@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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 8 Mar 2023 12:04:23 -0800 John Stultz wrote: > I'm interested in continuing to see if we can further tweak it, but > I've got some other work I need to focus on, so I think I'm going to > advocate for the revert in the short-term and look at finer grained > locking (along with rtmutex to address the priority inversion issue) > in the longer term. Yeah, I would suggest the same. I would still like to see what the difference is. Because I believe this will also be an issue for PREEMPT_RT. -- Steve