Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1018657rwi; Fri, 14 Oct 2022 11:36:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM65X9W7qGj/W7fVUMcC7232IZqNRBgSQo3peTHISVQQGXr4yBRmFQ6dnMcQvP8nHiBkV0CU X-Received: by 2002:a63:82c6:0:b0:46a:deff:7691 with SMTP id w189-20020a6382c6000000b0046adeff7691mr5817007pgd.214.1665772581106; Fri, 14 Oct 2022 11:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665772581; cv=none; d=google.com; s=arc-20160816; b=E48rZhh4zraseQ/yPtabJzPjIsANi2uZKJIQgTZ6tPal3qQ2BZlfL4YCA/ErKvH/tQ 7Iz9vOaROPMQo8glrfS0/eRNd6Rc8GAfFla74xIuPJ8HQlUX8yq5vt0QxpX5EXqoGyCm 29TbC6pU+dJIukEsFf2vB/KpTtq9o8DAq7KefZ+aLgOgcwCFAM0ryU7auz/+knqdOjwx hZIFi6TEeMN7ewq04RIrKh22uTHsOXGYZFYTsbyiI/XQ7IwLk8sZPwbQqXrP2qyNUGBS eTY3Yi88MdCHEBhxj8dRQY5k0qttOzmnCnyDCSGwJalsrP1tdreG18ZoT4FkahhBneCC BBEQ== 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=ntCfAKnHrcfFTXe48WBs/o5IfdVKymSy5keZJJ/v4gM=; b=CjHf3yA+lnPdVggCZ7XVdU8AtBFKQQvc+geUJIPcaGWdnkGv5xjRKrJHT80UEZyIOS 9iXNHUXbrw2kWDqV8RMy7+70u6jSOp04hGyKa+ynWBUSWsAFAPc0/KJoubqyyqkSdYBb EgSwmeNly52ilzqIv0VqwYWRi0evJfOx09ISgEWX/9yf4VuwGg4t+vcu+sQ6pzDtZubo pigMXSo6jIXorXFwcm9cEV0fmG7vLEFm51i6bqhH/inCfEUgcosCdjpzDNcFL4jla0ot 5PUh+fluTcFzWzHmnsWGRj9NZ3HytwbbkMkj/wIoQHP/Uj9vnX9Jq4nCwvnDL3uTHJ3z KBQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b="lOFQ/R9a"; 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 x19-20020a17090a531300b0020b0b8df3d2si3191293pjh.57.2022.10.14.11.36.07; Fri, 14 Oct 2022 11:36:21 -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="lOFQ/R9a"; 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 S230307AbiJNSWh (ORCPT + 99 others); Fri, 14 Oct 2022 14:22:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230092AbiJNSWf (ORCPT ); Fri, 14 Oct 2022 14:22:35 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 288601C2EB8; Fri, 14 Oct 2022 11:22:34 -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=ntCfAKnHrcfFTXe48WBs/o5IfdVKymSy5keZJJ/v4gM=; b=lOFQ/R9as9KuXSfmXQZcdmIuya v9lLLOciET59b3qkca5tBPYzpIhU6lR34lWHDP1GnHXy6T37+fnLV6OxX5kg7O+P+VJxkJD21bJsZ oVRC/mJThCs36N2kLDt5V1Ecq7KoANyBYv8AdfeDS5UszAuuM9z93urR8550/ZN2NJKYmoZ1rlzge 8iauQyY+ghPU3p1qf/H4iJsFxvpdPS/REa7j3MQdcbIlTjINLX4/MZzl75XBaMyPZ1zLU8BA+GHf9 VKzbsmpM0p1Tt/BWWlCJTi/vFDe5TYSvSJqM+/AFpE9BCnWtw7cKNtFsUf248kqYfdaZe+R5R0CHf auGp6n3Q==; Received: from [187.57.106.242] (helo=[192.168.1.111]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1ojPKH-001Yom-4c; Fri, 14 Oct 2022 20:22:29 +0200 Message-ID: Date: Fri, 14 Oct 2022 15:22:06 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH V2] x86/split_lock: Add sysctl to control the misery mode Content-Language: en-US To: "Guilherme G. Piccoli" Cc: tglx@linutronix.de, mingo@redhat.com, linux-kernel@vger.kernel.org, x86@kernel.org, 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, Fenghua Yu , Joshua Ashton , Melissa Wen , Paul Gofman , Pavel Machek , Pierre-Loup Griffais , Tony Luck , Zebediah Figura References: <20221014180506.211592-1-gpiccoli@igalia.com> <9a606366-6ac7-3802-5c25-91057ad833cb@igalia.com> From: =?UTF-8?Q?Andr=c3=a9_Almeida?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 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 10/14/22 15:20, Guilherme G. Piccoli wrote: > On 14/10/2022 15:17, André Almeida wrote: >> [...] >> >> Tested-by: André Almeida >> >> Tested on an Intel i7-1165G7 using a small benchmarking script, the >> behavior is effectively reverted when using the sysctl option. >> >> Also, you might want to document this option somewhere? Maybe at >> Documentation/admin-guide/sysctl/kernel.rst > > Thanks André! > > About documenting, it seems it's already done in the patch, right? > Cheers, oops, my bad :)