Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp51764rwb; Thu, 6 Oct 2022 14:22:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4lnWCFTmYRUYPobkipt8O+zWqNTFZt8hFc5O9nyLq0H3Ha+IwHIG/yLFnbR9T2Eolj6/Zm X-Received: by 2002:a63:e909:0:b0:438:c9c9:61e3 with SMTP id i9-20020a63e909000000b00438c9c961e3mr1611050pgh.194.1665091352586; Thu, 06 Oct 2022 14:22:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665091352; cv=none; d=google.com; s=arc-20160816; b=suGh7mTCSimnH8GHfxR/AEeRUNfA6b/e1tMDhnXGYBEGrEX3YswNtgo1h1/F8ZFlNL XXXCMLgtk9QDU5fgzxpT9TWkn4o1nXn1ea0AtldRNxVnp8Ai0sLF4BSwi7h6pA4Cr2lB 3ynsVKCm4HxZgxM6uK7To5uHdrz0S8yWm24NBTvRTlQ4rrxPF3A+sdbp03Axr2fwwSp3 UxeAWwXfTaMBfuU72LFlpmxKH7FMNfUwXl0rdvACjMsigFUwuOKfVG5MZTOtbEZRXrSu PdLZXva9yplp6yRPZdGa/DoAdwF2XwkvmYhBnYVmcPPDI+e1n/Kfz01M3Ll3TfD3KMCJ wNoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xGpzazBwlz0spQbdrF4eip+m3l0NgjNZFpLpj/2e12w=; b=J/Edr/qbTajhl6iryANZ5BtlNW6NL1M3TZ50r/SUSAon7e0fScsTJ5v3ibbCO9tsEQ 8s2FDbF1Ts8MrAS8TNAJf2wsyiuBOTdoEzn9XZpatYMRBRUlslqnast3PeCHCHVLa16q /vRXNuM54KEYvymCZa5A1tIuvY9deDbpdXjlkXWyd38J4OFEYG2gqZ/bnoyPAoVnvw1c qa/YaiBd2QIb6q+BnXnx9QTrDHJlCW2A6ljTP1XnO5Y0hHY8zCM/pMuLtDUBBPKdfWq1 /lkY9b7bOan9tH0wyCCqWVmO8nWKMjpd+lZD//OOal370tfBUOxeOOid8PRq2vfFGBse U5VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=RtgRcIVy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jj5-20020a170903048500b0017a0fe2e1fdsi168827plb.450.2022.10.06.14.21.42; Thu, 06 Oct 2022 14:22:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=RtgRcIVy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230301AbiJFU7F (ORCPT + 99 others); Thu, 6 Oct 2022 16:59:05 -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 X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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