From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD9F91F938 for ; Fri, 19 Jun 2026 01:34:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.136 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781832889; cv=none; b=ednjQLlnAmZu6A7YhM7XAgMNVs5wTurRYWbn8GMvym8iL0cVHvzYZa0ZVplbGqgrImoYfgtNlz8OTQHNy5zFQSkdNWOfeZISUXklZ81GRUZqYGx9N2BaQBnCH0VCukbIWfQnBYqXgia755UfvR/qlOVSbZJGnm3ttciCZFGkagw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781832889; c=relaxed/simple; bh=6iaB5Rr1Dn3vx9yw0kWuCntyR44ph6jTtkJ4v2p/ZDY=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=FCyw6FZ9ocGMIxA/TuMMuJX0SSbjPVIBfqHbxZQtwQqYg75s5Cxf7NCWHTjXmkchf1ctQsyNnBoWtea40px6P8WvQQu48cRdJw5xbhTog9v+9e2XAnrMBd61rxSeRQ3iOGSst9BYGtiHvXMhMTjDZactIOvubgD5ywrqATOC7pA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com; spf=pass smtp.mailfrom=zytor.com; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b=rizC55z0; arc=none smtp.client-ip=198.137.202.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zytor.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="rizC55z0" Received: from [172.27.3.125] (c-76-133-66-138.hsd1.ca.comcast.net [76.133.66.138]) (authenticated bits=0) by mail.zytor.com (8.18.1/8.17.1) with ESMTPSA id 65J1BIHY4153448 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Thu, 18 Jun 2026 18:11:26 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 65J1BIHY4153448 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2026052701; t=1781831487; bh=qd6x8dDIGMVO4sL4rr47OBr5Wg6ty/3pkgSXcXj7kkI=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=rizC55z0tViKHvVtbos9jtskxeRdiBIrZVYziNbi0DEtvTVeXgoFTc6RlsPQUUP4n g5j92UqPX8zcDu97P/Te4F9gApTrlK2coDOOLdxQoUqXmrDg25WR4GHnSeMAginSio NlAYDY8rDqP78v0bXNwcEXcLQcnGPuenX2ZeQX1sbVp4ozKojHaxRFZIq/ktUUeoo6 We3Wa2hY3BdDi7rImeN7uvQoNmQDm3r8+1YybLRBzu8pJirQBFKFcR2c9tpYOBw/1R c9Cy2QrMGWswjN32tm3iZ8czQmzilWJIsMB/PZQI82VRfz4eZK1mPFRMT/dyLCRxoS /SL2rIQciJSHg== Message-ID: <13791ee3-f699-444a-ae1b-a18c2c281f67@zytor.com> Date: Thu, 18 Jun 2026 18:11:13 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: 8aeb879baf12 - significant system call latency regression, bisected From: "H. Peter Anvin" To: Peter Zijlstra , Linus Torvalds Cc: tglx@kernel.org, mingo@redhat.com, bp@alien8.de, Nathan Chancellor , Calvin Owens , Dave Hansen , x86-ML , LKML References: <20260613085919.GF42921@noisy.programming.kicks-ass.net> <203E61B7-290F-4F87-860F-B352D0072703@zytor.com> <20260616082814.GQ48970@noisy.programming.kicks-ass.net> <20260617123718.GM49951@noisy.programming.kicks-ass.net> <9ae04c80-d1e2-44f0-bca2-d0889c61b45f@zytor.com> Content-Language: en-US, sv-SE In-Reply-To: <9ae04c80-d1e2-44f0-bca2-d0889c61b45f@zytor.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2026-06-18 15:40, H. Peter Anvin wrote: > On 2026-06-17 05:37, Peter Zijlstra wrote: >> >> This builds with kcfi on and seems to do more or less do what is expected. >> >> I've not actually tried performance measurements on my IDT based system. >> > > I'm going to run this through its paces. > Well, isn't this cute. It *does* indeed align x64_sys_call() now, but the performance is firmly in the "bad" bucket, higher variance and all... -hpa