Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2893403rdb; Wed, 15 Nov 2023 13:59:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHO036LU7Nat9SAlM68ZUyDx7Ik5QkGWJykiezEEWZ2JCR8Q/z8YL3l/Tc8cM3tuTTotIid X-Received: by 2002:a05:6a20:734e:b0:17b:2c56:70bc with SMTP id v14-20020a056a20734e00b0017b2c5670bcmr10116804pzc.10.1700085597302; Wed, 15 Nov 2023 13:59:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700085597; cv=none; d=google.com; s=arc-20160816; b=eUm1Jv86VKXDTadQU3nc3JCg0IJgirbWRkI39TGwXm72zbkmiPk64L/efpuuDnvKrX 7793ZMpqOfXMvYYS82yUOIMn8hQxPKV4p7zKSO/pqqH9ePZlonV2JofHN8hIVnZftlCr F6NvG7kxQcEOjNpSpZLdJmSp9sIqyP8xI3wrMC7Z2dsQ7Td7rA2Mm425I1W9xDqlFWa1 vQlEVgLjU6HudXI/4Yd/kI+MilME//gF+PUeppsn5bE5MB8+x/INjfO6ir2n51vVNaIz Sg0olsKXlK0DQa1AeH8KemNzhjnxTsjj7Kx1NHjJXG55jnhNbtuzI6IZske1sQSZOhFv sXuw== 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:dkim-signature; bh=gnQc3JN9v8kA6tZGKxO8vOCK2sDLkjsw7bhunBDg00M=; fh=4yJc638SGTPkGLwkNFQgIu8eHqmCdxukUJVwHLahvLU=; b=1BxvW3JXseW4WlEHAmEyK4dQDdeU53F7aB0UGmJF7w4Ozkjyx5lZdCqogHI4eNK/XC VDpjrXc7ixHKhDvWLK+hhHm5oCWtd5n2iKz+0iYsPtcALbvHdrQfGOFGRG5J5gli1ftR Hbsof4hAlV6A5i1KzSO4Pi7F8a4OtiHnW2iHHdYQD2EZlxx0OMEblTTtgEep0eTZTAd2 8mHfAZDhPB3N3/pLsh7AfgnqninAOa+fjj8emqDww/2TPVNvwhSVTxRNmMHGCCqOaxKb Rzor6kRZENzYeap1k4OEIksu0e+XiFPjHaPH1maTrOzZqR33ZFgz8Ucvf7lej9Qs4aP9 RGdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=gtyjtEkz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id b7-20020a056a000cc700b0068fb95e5401si11456587pfv.65.2023.11.15.13.59.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 13:59:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=gtyjtEkz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id E5AED8098AC7; Wed, 15 Nov 2023 13:59:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343716AbjKOV7n (ORCPT + 99 others); Wed, 15 Nov 2023 16:59:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234927AbjKOV7m (ORCPT ); Wed, 15 Nov 2023 16:59:42 -0500 Received: from mail.alien8.de (mail.alien8.de [IPv6:2a01:4f9:3051:3f93::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A991318B for ; Wed, 15 Nov 2023 13:59:38 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 795AD40E0199; Wed, 15 Nov 2023 21:59:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cS1EHJFxfxSI; Wed, 15 Nov 2023 21:59:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1700085574; bh=gnQc3JN9v8kA6tZGKxO8vOCK2sDLkjsw7bhunBDg00M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gtyjtEkzOK8TSa9Q6BymFEgAejpTzQH++8sGhLM7nW89BoZiRIqYv/oQ0uQfHd6QH 8hgvAw2xf73O/kO5fRQlg41P9CYBA+KuS8Lre6NQQxUX2fnbu9sRwY4E2bQQsqj4hA fK2Rkgdlea1lx7fjGCTASJFm7UzG6Scrx+YzL4I4zlodCCLjq9cVABI097NSf3WyNh MZYsGeMAxOVyg6JTKe0NugY76PC9+hZDhvDvvCO/LqiF5hZ7abB+5TnJ8p+shBiK+q zH83wVWlxWZbF0IpABxqlszUk2EBrKtjDJajC+h68raQo0EC8UacqZjq7gJ9Ez4yfy 7n6UEIwF1XimU6dUAzWm+xdUPAJRXsJJNJLD2QswvgMmDNfedl7V7sWbeMXF8iRFJo uBaMwjhDnBUQ/nP8VzBwAjhAbTT6nvIApqz+1UwkdgL5t2aDAnYwOTcqetTOt6AHgl RLFfLCe5e/h7ZrAS6+VfFdwZm75CWF3wZGOii97+UNPLEJlWMV/KktD7cXji5AO3it 71+7TZNKfgJzVtsghAOKnec5MrO6YVM02+SsqZv/wExkHJaAL86cDNG6L3MZSG8LDZ 1/5/kAhwP9H9U14PYsPfpQmBnOfLuBG1gnzqQAeCLmpDowdH7yFRxuGKdHbRwp5QnF 9J1JlehoJkUOeFu4bvjUxSdI= Received: from zn.tnic (pd95304da.dip0.t-ipconnect.de [217.83.4.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 224E440E0032; Wed, 15 Nov 2023 21:59:18 +0000 (UTC) Date: Wed, 15 Nov 2023 22:59:17 +0100 From: Borislav Petkov To: Linus Torvalds Cc: David Howells , kernel test robot , oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, Christian Brauner , Alexander Viro , Jens Axboe , Christoph Hellwig , Christian Brauner , Matthew Wilcox , David Laight , ying.huang@intel.com, feng.tang@intel.com, fengwei.yin@intel.com Subject: Re: [linus:master] [iov_iter] c9eec08bac: vm-scalability.throughput -16.9% regression Message-ID: <20231115215917.GKZVU/NXl5BkyCPt/M@fat_crate.local> References: <202311061616.cd495695-oliver.sang@intel.com> <3865842.1700061614@warthog.procyon.org.uk> <4097023.1700084620@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 15 Nov 2023 13:59:55 -0800 (PST) On Wed, Nov 15, 2023 at 04:50:06PM -0500, Linus Torvalds wrote: > Sadly, we don't seem to have any obvious #define for "this is not real > kernel code". We just have a lot of ad-hoc tricks, like removing > compiler flags and disabling things like KASAN etc on a file-by-file > (or directory) basis. Yeah, "untangling" memcpy() has always been a PITA, every time I tried it. So I'd need to come up with a somewhat sensible scheme of "use this special memcpy() only in kernel code proper and fallback to the library version or gcc builtin otherwise"... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette