Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1018119rwi; Fri, 14 Oct 2022 11:35:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM45jrdjxrBgrFIaBZWU1SIctANVLIAV5Sd0CvqwPQSiH3Ni1x1is7+y1JbDHGyNDYrrLMfm X-Received: by 2002:a17:902:f693:b0:17f:6974:cf90 with SMTP id l19-20020a170902f69300b0017f6974cf90mr6678198plg.62.1665772552862; Fri, 14 Oct 2022 11:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665772552; cv=none; d=google.com; s=arc-20160816; b=B9Po1SbH7FonI6ALiV/d/QeFBVWMgaTUps+UKZw60gyKDixVMEbWHchi7JddPYbsXl Ay1H2exLjKDVH0xwdozIfjCrvmUTdgc6rHW8Mef7+M/+XjHrAknSsB/RcPRc6hbnFGTV R+Vl2Rz1DoJt+CFsBrJ5D3imOGzXgeTQbfbpS3+NABvQwODT1H3TzK9mQ36fFESlXKwO G7H4Yb5xmRSzvRM+rE87D601AafWbb9816xFo7RVAM9KZaIkxT4/CQVHl02keREjvCH4 vuhScaoX4jf/W7Q9+Xx0cm2QE6cN61ZkG0A//iqoaX0zib4muVdtSBNXtFc0pOIgGhhu kEwQ== 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=MdsoADCl9uFya5thCCynArSHrEXYEfVbUBWmIBsxmh4=; b=kITVjZjwixTvxWzJqOate8Sddcsb1pZAsgRiUdpRac/edKfG8Qlq01kUg1aENVECVS Mzk6C5OOn+jQ/vE6uOp/x1x7Piye341WnDZvdzuN67AxQ/AMNUCUze68+AKPXhWvUUv6 rBP4d3oHAt0krbilnnpyIAv/caECdqvm2IeiaBQW1ovowAY/uZJsynPynj/SS7PeHiVE jQ+PlDBZzXeqHHYV5QPi3DI/ucTyI6VJuGxtlArB5xtmpYAzxp+dCsuLxzfWseCL0YUW iQJlNpnGv2YrK/JM7e7FwiN9o7XxoQQy3xP/gpuLo+rGskqNZznVF+IQsQHSv7dqQIXy 5c3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=Eu29XZq2; 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 x67-20020a628646000000b0053864fa87basi3316692pfd.0.2022.10.14.11.35.40; Fri, 14 Oct 2022 11:35:52 -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=Eu29XZq2; 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 S230158AbiJNSUx (ORCPT + 99 others); Fri, 14 Oct 2022 14:20:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230057AbiJNSUv (ORCPT ); Fri, 14 Oct 2022 14:20:51 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D9C0EE8BC; Fri, 14 Oct 2022 11:20:50 -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=MdsoADCl9uFya5thCCynArSHrEXYEfVbUBWmIBsxmh4=; b=Eu29XZq2g/+1/BarUodckH0Ha9 4Egja3WCFYqPkSH5tsTyeWoz4fj4SG7/Vzb9eqpfaJTPeBJJClLB+RRXM4+FL2TyiuZzI5RpKWmAe UrGc2dQni8fANKagQ/+cogLXnl+sqH+7Q9eYyjpNNQrny3m+D+n2Za1rdR2GFzasVDD2+tok7lMNR Ua6CtvrwQOyR8oe9aU5IZDvnhE8IxfX8+MRK0k+Q5Oyd5o3+CP5htczRlXr821ala2CSVjWWnibam vAWtLhRGagLiuFePbgcUExbXqr9CM1W+kNP5ntkYdozIOzL7Da6GNuuLio1CZBAQ1e1ZwKLA03Ihu xpfEJpow==; Received: from [179.113.159.85] (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 1ojPIa-001YmN-7Z; Fri, 14 Oct 2022 20:20:44 +0200 Message-ID: Date: Fri, 14 Oct 2022 15:20:26 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH V2] x86/split_lock: Add sysctl to control the misery mode Content-Language: en-US To: =?UTF-8?Q?Andr=c3=a9_Almeida?= 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: "Guilherme G. Piccoli" In-Reply-To: <9a606366-6ac7-3802-5c25-91057ad833cb@igalia.com> Content-Type: text/plain; charset=UTF-8 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 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, Guilherme