Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3122376rwi; Sun, 16 Oct 2022 05:44:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7F2UX50kT6bbLfA2e25SR/ax6EyGmBuALEgVAslVcx7/BnXYgDDHODV6F6e2Aa9ft3N3zA X-Received: by 2002:a05:6402:350f:b0:45d:1d86:9ec9 with SMTP id b15-20020a056402350f00b0045d1d869ec9mr6180434edd.266.1665924270932; Sun, 16 Oct 2022 05:44:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665924270; cv=none; d=google.com; s=arc-20160816; b=Tal+0hL7NqN5wup1XYcsO0/0V2RAAQB+bDHYU2F/fRUQE81mQxyYeEKF8Aar4KV5ld q1tPdYfCYKaD8BUmBvE8BNOaISm7wNDuuT7MTE4QNoOTbeopeX9KJlC4F3IIq1yvrneU /cRphh39g1AeLc7qpqPrSxWBjWtmikm5oM3OtbVLTOxdwuZ/1bzYE+82V7F/DlsJEhO1 Ps481x6iNOTCpigGmFi32YTbTqYUVIzK1SuKhkCJuq2rd6QzJTLZhJDYs70Qw9ZRhacs ttnc2PNkOfFrhco3oJPfY5jL52s37FLq0hYIGI0Zo8OO8CMp+Q0MbWa6zCmPJBcabRtB YX5A== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=7pNStEG1FkUfh4Si/j7M8p6afBo9Oypw8Af/t053Cwg=; b=cgP7xP8tGcOTH3jdJybv443u2PSNuSksqoXlwACBOkmawYNxsFemR6unjb5BWJXnsP JKmsTXuISKxeefyCeQ62VM6DuKS3vyCUnNbQ5/XMip6uzpb/eFjE3e335nxYrRt/kYWa kJrSqhRaRgJaJ9Pyi0PvWDNUEnAgERYldGbjLkURBS2bRo3cGjoRmlci6U+1lU2OAHRc yyXbFqDjmzklzZaJwVCPi0AwaDTDAU/obrK8vBlFuQh73j3PNfIXiAJWKPu2Rk99fzHU u2z+P9qtE4T2YoXXYr4XqUtbGwAgskOT5xN0SLNRJ01NIRC4RiB6WZfbGVzn5NNs2t1d ihjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="G/hYXwm0"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o16-20020aa7d3d0000000b00458be855265si6103295edr.211.2022.10.16.05.44.06; Sun, 16 Oct 2022 05:44:30 -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=pass header.i=@gmail.com header.s=20210112 header.b="G/hYXwm0"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229681AbiJPM0d (ORCPT + 99 others); Sun, 16 Oct 2022 08:26:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbiJPM0b (ORCPT ); Sun, 16 Oct 2022 08:26:31 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFA37357DD; Sun, 16 Oct 2022 05:26:30 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id z20so8534260plb.10; Sun, 16 Oct 2022 05:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7pNStEG1FkUfh4Si/j7M8p6afBo9Oypw8Af/t053Cwg=; b=G/hYXwm0CNhdQl6LDzGSNFQiXU1KKYsY02F3Cdrb17AUvBw7cDzlWF36xpSLJ8ZhBS 5KBIooQGSXHYLJTZg1ohT5clZzYxVa610jYSoxTFuQfhcY1YbLKGuGKURyvUICoLmoef Rdk7U0KMVyOR/FRkJ/M2pXCBqNy1ImmsRRF6GQKhC19rDrA3HyGHvHtcqjjqExS36Mva RCivXpE0EP4/fzZRFQyI8dDvQCPtLtw+GIRPtyIlrVn1cNAznUgmvH7rCetS8F1KLfJ9 A7tWxA/fdjDqFf+LZo4QBr24T3OXmVc33yn6h2xzTd+Ar8ligTodPQMum/PviT6rS2oN wQEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7pNStEG1FkUfh4Si/j7M8p6afBo9Oypw8Af/t053Cwg=; b=eBzggk9GcIsMeo7nfB8E0Egp424ak1zNjlRuSWH2Qn0ldWMde9vuikDY4aHxrH1vqd AaXuZu2ZrTpzU8DCwSea7mspvJLvgOzZu5OjDTskGnijQU3lI0A+E3SXZome/LhNuGR7 DDja6vBNqa9Llz/uLDTE4E7utv0BdXofj32QDmr85FDj44TUOnQ20DMLIUh9aXaP3dg6 NyfZjRt20l8jS823smgjTItNUZrORx8pIMRFUfXC7fyti49qTRQ5jOk6R18Ca7mJRFuo 15kC84SGvVsDIfZrbj/Vr4jEbE1fOFXv5cO3SZST+1beipI94Bhv8MCh0TBFOdUY1Egp LPfQ== X-Gm-Message-State: ACrzQf3zUmnNu3yIAJd8D4XBow4OkgBMlMdwrPFxtRibVqBdsn0J5z7B 6is2mwYBwBNllJ+/liUNRRrti+nRkJk= X-Received: by 2002:a17:902:ced0:b0:17f:92d6:f5ec with SMTP id d16-20020a170902ced000b0017f92d6f5ecmr6703479plg.34.1665923190525; Sun, 16 Oct 2022 05:26:30 -0700 (PDT) Received: from [192.168.43.80] (subs32-116-206-28-46.three.co.id. [116.206.28.46]) by smtp.gmail.com with ESMTPSA id b3-20020a170903228300b0017f205d91d9sm4739774plh.118.2022.10.16.05.26.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Oct 2022 05:26:30 -0700 (PDT) Message-ID: <55fc0cc6-01fc-6b93-ce82-bad5452314d9@gmail.com> Date: Sun, 16 Oct 2022 19:26:22 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH V2] x86/split_lock: Add sysctl to control the misery mode Content-Language: en-US From: Bagas Sanjaya To: "Guilherme G. Piccoli" Cc: x86@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, luto@kernel.org, corbet@lwn.net, linux-doc@vger.kernel.org, kernel-dev@igalia.com, kernel@gpiccoli.net, Andre Almeida , Fenghua Yu , Joshua Ashton , Melissa Wen , Paul Gofman , Pavel Machek , Pierre-Loup Griffais , Tony Luck , Zebediah Figura References: <20221014180506.211592-1-gpiccoli@igalia.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 10/16/22 10:00, Bagas Sanjaya wrote: > = =================================================================== > 0 Disables the misery mode - just warns the split lock on kernel log. > -1 Enables the misery mode (this is the default) - penalizes the split > - lockers with intentional performance degradation. > +1 Enables the misery mode (default) > = =================================================================== > Oops, on the table above, s/Disables/Disable/ and s/Enables/Enable/. -- An old man doll... just what I always wanted! - Clara