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 AD77BC7EE30 for ; Thu, 2 Mar 2023 22:53:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229997AbjCBWxw (ORCPT ); Thu, 2 Mar 2023 17:53:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230268AbjCBWxn (ORCPT ); Thu, 2 Mar 2023 17:53:43 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E9321B2DB for ; Thu, 2 Mar 2023 14:53:38 -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 19D49615FE for ; Thu, 2 Mar 2023 22:53:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BCF3C433D2; Thu, 2 Mar 2023 22:53:36 +0000 (UTC) Date: Thu, 2 Mar 2023 17:53:34 -0500 From: Steven Rostedt To: David Laight Cc: John Stultz , 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: <20230302175334.49abf342@gandalf.local.home> In-Reply-To: References: <20230302062741.483079-1-jstultz@google.com> <20230302082414.77613351@gandalf.local.home> <20230302152103.2618f1b7@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 Thu, 2 Mar 2023 22:41:36 +0000 David Laight wrote: > I can't help feeing that the RT kernel suffers from the > same problems if the system is under any kind of load. > You might get slightly better RT response, but the overall > amount of 'work' a system can actually do will be lower. That basically is the definition of an RTOS. But it's not "slightly better RT responses" what you get is a hell of a lot better responses, and no unbounded priority inversion. On some workloads I can still get millisecond latency cases on vanilla Linux where as with the PREEMPT_RT patch, the same workload is still under a 100 microseconds. -- Steve