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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35A48C433F5 for ; Thu, 6 Oct 2022 20:59:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231950AbiJFU7G (ORCPT ); Thu, 6 Oct 2022 16:59:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230210AbiJFU7C (ORCPT ); Thu, 6 Oct 2022 16:59:02 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7002BBE12 for ; Thu, 6 Oct 2022 13:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xGpzazBwlz0spQbdrF4eip+m3l0NgjNZFpLpj/2e12w=; b=RtgRcIVy4utfbqQVrOX/dTiXas OdI2qYC3R894Fpb0qzL859LwZ0oKd2zYZGYny9/ADUJ2IccsfTk9prgy20cPFUQCzv1u6UX/sutZT uJczEY/R1FlwKuEMuPbAu9PeJj3M+kg2Mb23st1O6jm+jccUBSI4YvBcdzs+7GwLiL/MdQMZBP8vl iCE4vVNwn6p1avITN89fsoEMzyjn0TJjmQfe//YeTosEVtQkk+yPYdo9jX1QehXRi5up/5b45iIhp e0fbfMh0mk5D+Xc4OFU2SF5RLMdChymtRUKVLBn+WMWxGmyBGzSyndQRI+gjvEm0CzdE5rNxBVXdI nydla+Gg==; Received: from 201-43-120-40.dsl.telesp.net.br ([201.43.120.40] helo=[192.168.1.60]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1ogXws-00BzYE-Ow; Thu, 06 Oct 2022 22:58:31 +0200 Message-ID: <5b8e4b64-2e9c-4cbe-0a56-83043d8de113@igalia.com> Date: Thu, 6 Oct 2022 17:58:14 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] x86/split_lock: Restore warn mode (and add a new one) to avoid userspace regression Content-Language: en-US To: Thomas Gleixner , "Luck, Tony" , "dave.hansen@linux.intel.com" Cc: "mingo@redhat.com" , "bp@alien8.de" , "hpa@zytor.com" , "linux-kernel@vger.kernel.org" , "Lutomirski, Andy" , "kernel-dev@igalia.com" , "kernel@gpiccoli.net" , "Yu, Fenghua" , Joshua Ashton , Paul Gofman , Pavel Machek , Pierre-Loup Griffais , Melissa Wen , "x86@kernel.org" References: <20220928142109.150263-1-gpiccoli@igalia.com> <9d9d2d5c-1b7a-721b-f0e2-f591bb170723@igalia.com> <87pmf4bter.ffs@tglx> From: "Guilherme G. Piccoli" In-Reply-To: <87pmf4bter.ffs@tglx> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/10/2022 17:15, Thomas Gleixner wrote: > [...] > > But a way better solution is to add a sysctl knob which allows to > disable the slowdown mechanics and that allows distros to give the user > an trivial knob in the GUI to switch to "I don't care. My broken game is > more important!" mode, while still maintaining the only sensible default > of preventing damage for the general use case of the generic distro > kernel. OK, if nobody opposes I'll work on that sysctl approach then. Cheers, Guilherme