Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2422680rwl; Mon, 26 Dec 2022 14:51:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXtKHnqFRWveaA/GjnbSSrKujXWW6BRZDddgdyLWBr4XAJPEEmcl5qgWdcWccH9JMZTohaUS X-Received: by 2002:a17:90a:4210:b0:219:49c6:538b with SMTP id o16-20020a17090a421000b0021949c6538bmr36798663pjg.33.1672095108711; Mon, 26 Dec 2022 14:51:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672095108; cv=none; d=google.com; s=arc-20160816; b=EG163z83j44iaohjBFE47MBn7IeaqRlRye0AAID8fWaHfYdcTSZODvDT3yzJnXPmnr bDQjig9XU6R/I80iafhxzDjy0ooCtusQU1LqSM8YOniaCMIr5Xi81JYXKIL0dBHOblSq X6zzkSIWFJJMsUNWUgxbMX+7MmRhq+4zzfl69LyylyVDHN/nNh5Z/6Oa8wN6Cc3LEinV 8QtetkaAlIClXeU5Mi/2QqKBce1kaXKnZEGqSg3ImHn/3Llbv2tIfPWuoct1bHv2M7dI DRTLcXX0RahukqOPLygAFtZhVOgyc81/cpMoure8OsPzAU3d0F5BIaMYrgfWpQeyNom8 WpMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=hNDSLgzAWMyKm1B2Ru82U5Y+ProfcfDEihjnTp0Xp+I=; b=L3W1cZMNZASHX8+oup7VbpektLipyX1ZNnWnJRzc2br8mntdHNt+Y3sUwzfmhOWsmA Qo82SKlG2jNAJVJ61EMv3Y8qqghodyTn/m6tNHoVGzu197gSOdiCX9812nh3iBBqNv2e 8hZPJeem+iQ5kJfXqRgqcf7mPOWvDmNW1SMnVULPO+VU2vi8kaDPW5dmiKtjC1L3EV4e Q+3rfNrvXldlnXX9M4Gd1w3bntnTusINx36wL/Tf1/RcDPeGMWEukyi3EwS53U82m03f ECZNLnN0W1hTdEEUspGCtXRyOYmlOLTMkLMADd688cQcYxtcFt3/PRIMzrQX3uNuiff/ i7gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gjF8V1rb; 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 a6-20020a17090ad80600b002190ba4112dsi1420025pjv.94.2022.12.26.14.51.30; Mon, 26 Dec 2022 14:51:48 -0800 (PST) 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=gjF8V1rb; 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 S229791AbiLZWLB (ORCPT + 66 others); Mon, 26 Dec 2022 17:11:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbiLZWK6 (ORCPT ); Mon, 26 Dec 2022 17:10:58 -0500 Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 538D9EA3 for ; Mon, 26 Dec 2022 14:10:57 -0800 (PST) Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-144bd860fdbso13838820fac.0 for ; Mon, 26 Dec 2022 14:10:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=hNDSLgzAWMyKm1B2Ru82U5Y+ProfcfDEihjnTp0Xp+I=; b=gjF8V1rbZkjCk/70jX5AoBt1Vp2ptjCicA6/WoL+PmdAXzkKHcOOmaHP26PyzDnUby ZszRpgUA3XDbvRy0N6KHgbh2A2AvemzyOGwvJIQJMfnPKxQLHNoQyz/9CScYFnGR1uM7 xrqZHMdT8oPp5gQm0knMzBsO3zkltw2IHj4F02GpQYmU2hlNHwpDyGHpnnoa1d5VgipJ DVmlkowun60QfJ1Y0as1lERFJChsQtTIy+hqsWQrIU2p2g3uB0fRnitadAKB0faJKQg3 VQrWaoFNdwr9X8BzWa1Mvt4frdCrqh6KbljHVw6js1/49T7OM8ok2rJgqCKNkWFellTs 1GzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hNDSLgzAWMyKm1B2Ru82U5Y+ProfcfDEihjnTp0Xp+I=; b=B9l4967OaaHNv5IqBKi0B1OgUm6bx7OLFGOaHNUXPKJG8lopSjYud9RGmWu3ig1aFc Nwek0xX3kaulQdag10xzLjEDvV9RYlgly+HYwngJUjSqQj+14Yt5E7zWUSrQRYeZ08oH foIQIxOWJiY0Fhrrzr5sjfFD3mDOn1z4559op55WGdk/yFqE2YUWvwb/iTBfpRuBXTjH z5Q4Vd15uVxUq87dhZl3kaEIY0qKaT0jSX0EIQDwYaRroNiiv+W6zmKTj1T7J2dcqoav tSGp8nFnJsfwDBuq6Gf0WRDg1vubzrtteLdAOe3kgs0RrxBBL6jS/e4NmJq+f4y4u+gw QF/g== X-Gm-Message-State: AFqh2kooBjagyPM/hzcXp1097hgkSIXS6bwmfYX3w6Gc8FXDPHlP5hhZ 0tZXynuj6R0U/vIWWr408Iw= X-Received: by 2002:a05:6870:7d0a:b0:148:53c7:c51b with SMTP id os10-20020a0568707d0a00b0014853c7c51bmr16556846oab.34.1672092656678; Mon, 26 Dec 2022 14:10:56 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id a15-20020a05687073cf00b00144bb1013e6sm5443749oan.4.2022.12.26.14.10.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Dec 2022 14:10:56 -0800 (PST) Sender: Guenter Roeck Date: Mon, 26 Dec 2022 14:10:54 -0800 From: Guenter Roeck To: Kees Cook Cc: Linus Torvalds , Jaegeuk Kim , Chao Yu , Linux Kernel Mailing List , Vlastimil Babka , Peter Zijlstra , Nick Desaulniers , Kees Cook Subject: Re: Linux 6.2-rc1 Message-ID: <20221226221054.GB2629353@roeck-us.net> References: <20221226195206.GA2626419@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Mon, Dec 26, 2022 at 01:03:59PM -0800, Kees Cook wrote: > >> > >> ... > >> [ 18.494320] ok 2 memcpy_test > >> [ 52.969037] ok 3 memcpy_large_test > >> ... > >> [ 52.974505] ok 4 memmove_test > >> [ 87.325400] ok 5 memmove_large_test > >> [ 143.562760] INFO: task swapper/0:1 blocked for more than 46 seconds. [ ... ] > >> > >> That is too much for my test bed. I dropped this test as result. This means > >> that extending the tests has, at least in the context of my testing, the > >> opposite effect. > > > >Kees? This indeed seems counter-productive.. > > Hrm, that is not supposed to take THAT long... But yes a cross-arxh qemu run would be slow. :( > > The changes there were to help find any future memcpy problem (like seen while porting the i386 memcpy asm...) I'll try to get this reduced. Dropping the test isn't so great. :) > Would it be possible to hide the expensive tests behind an extra Kconfig option ? Thanks, Guenter