Received: by 2002:a05:622a:1442:b0:3a5:28ea:c4b9 with SMTP id v2csp1114629qtx; Tue, 1 Nov 2022 00:05:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM78iCZNw1s0D1CeNqeYmY0+epdUhVXgawURicIulA0fnbYuOhyVHy7xOctatWBg8d2Wt3H5 X-Received: by 2002:a17:906:9bee:b0:7ad:c4a1:b8e4 with SMTP id de46-20020a1709069bee00b007adc4a1b8e4mr12228515ejc.283.1667286323239; Tue, 01 Nov 2022 00:05:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667286323; cv=none; d=google.com; s=arc-20160816; b=ghR3dJd+w5k2eQf+OqwW/drIg6PSlPBjbTC4ve+0QmyK65v5GT8CrDVieUwrDy+SAR N+cB36QL4lYPRKAtgWmCwvaiGZAWr0hZ5UI02P4NqrFh/ks9nsofvHPEL5O0AoW813bb NiV2KuUSdeicyyThxtjUQbbI9CRoRv1YTIpFzENoMEjoKYfVatL/Jv4gJEBhiBFWVNd3 79W+vj36CGNKn7wvCg4rPzKTisDqfruEGESVYhgW+keoR+KsOcdyFmZXnYeeMXuyVMB4 VREJPvLeKcRtGPej9ve92S0yaXXDly1fgyN7J4q96np+eTGMNsHxcAJf3LU0Pk5h7Gbm pcYA== 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=v4hGuyUSfPpzlH7qFL6pPYRA4BNb86wSGZk3W8v2YaQ=; b=DKFd+lpguvPLZ/8FZ6FtR3qzLsdhtCjAB9aXqZa1mV6gxHvIKHnk6SMHI8DvMdreED W+3aERJIh/tPs3byDonvuy9oFI82kqydMnSAgBidNOgWm2R0Qpf3DPZX0aoikBAB7K2W piwqsyLZrAd0U1Gj65/qxqSnDXl0L26UXPhzMyNCdmmyqIFLptMFBSae3TWXaA+UaLSy z1InitywmH7grh2XZbJe6uvt17/Le9UiHv8ZrWSRky4cw7rzy6LLO+AazrAcgbcgUaCH L+VZk2qjkolnbvFkR1m5qXcsWhF4vx5obLQT/WNJPZ+GZbYClwGwxXx2k0zd717Zigti WdrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=A21vU3b5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id og17-20020a1709071dd100b007ad6a0afbd4si9840142ejc.825.2022.11.01.00.04.59; Tue, 01 Nov 2022 00:05:23 -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=pass header.i=@gmail.com header.s=20210112 header.b=A21vU3b5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229561AbiKAGpv (ORCPT + 98 others); Tue, 1 Nov 2022 02:45:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229739AbiKAGpo (ORCPT ); Tue, 1 Nov 2022 02:45:44 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7173A6365 for ; Mon, 31 Oct 2022 23:45:43 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id f5so13292834ejc.5 for ; Mon, 31 Oct 2022 23:45:43 -0700 (PDT) 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:from:to:cc:subject:date:message-id:reply-to; bh=v4hGuyUSfPpzlH7qFL6pPYRA4BNb86wSGZk3W8v2YaQ=; b=A21vU3b5Ud1p1PYQ0mYVe1OttP4Gd+A8wDdNXuNrYCFgKbZdgic3iqv/rJSxkEhpqT HdD2CG+OxyBNoq462ahvX9kpaXOZCzs1zyULWPhTlRY8pitXA5PJCMdaGmOkSA0vRM/o 2qD4ERuM2cJ5I+IqqKYJbknkEmPaF8LcwvINncRyQJgHHouaUpQCkAbimTSquZKOUxxc juNHE6Gp0bAgKEPDwChnmzg/FnW0qkh53wh5WpWnAChfA+zyobCLgb4I87jIYLxLAqkU nNFNhIha/tkVIlWKa2fQ6iVzMsY5uceQWvomGVjGevI5mBY83pRkrg6VZA8AyGuTH4Mq lU8Q== 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:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=v4hGuyUSfPpzlH7qFL6pPYRA4BNb86wSGZk3W8v2YaQ=; b=uwK6DuEo1M21sK+0UECvBA4CvDVisQlyLB+G18gw5Zc+G4N8XFAvXS+xOVrfUGnr8G HkTGHoLv2Ok08Pvb2rYvd+nR6OnLtcl8S40P/Aa1EhTkHa34fba00WcU3yqGLotvcmyc MsYIG8vY+Ryfm3AJ0jY1o4xmxO6jw+s7S0z2EwADU23p8yr+9qIfptsK4FtkHQpelwv9 CdI4+3Q+oDO0a6FH/okxb1Nnhl4VLNzaT5zMv61L+iOrr9LkwZExYLq2M+HjyFXFw8TY OhrV5ad43NZwLJLTkvJk03dtBVNPDpavxA3K+d5mPaRWXo83JAju1Ewiy6zmzobqBRwu YUxw== X-Gm-Message-State: ACrzQf1VYKKXHM9pokAgWM0BcEh7WSpp1DqFDUcfPuCJGA0OdIjNo+XE Z6AAfb7lKeTcVC0ce8uZCQ== X-Received: by 2002:a17:907:7243:b0:7ad:88f8:7ef1 with SMTP id ds3-20020a170907724300b007ad88f87ef1mr16660053ejc.12.1667285141953; Mon, 31 Oct 2022 23:45:41 -0700 (PDT) Received: from p183 ([46.53.254.38]) by smtp.gmail.com with ESMTPSA id b7-20020a0564021f0700b00458a03203b1sm4131615edb.31.2022.10.31.23.45.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 23:45:41 -0700 (PDT) Date: Tue, 1 Nov 2022 09:45:39 +0300 From: Alexey Dobriyan To: Dave Hansen Cc: "H. Peter Anvin" , tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v2] selftests/x86: add "ffff8" -- kernel memory scanner Message-ID: References: <84E9CFF2-760D-4A5D-9B19-11CA804E1FE8@zytor.com> <429982ba-e06f-e76b-061c-39db67558aa5@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <429982ba-e06f-e76b-061c-39db67558aa5@intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Mon, Oct 31, 2022 at 02:37:43PM -0700, Dave Hansen wrote: > On 10/29/22 10:25, Alexey Dobriyan wrote: > > > > $ ./ffff8_64 -h > > usage: ./ffff8_64 [-f] [-r] [-n N] [-s S] > > -f: sequential scan > > -r: random scan (default) > > -n: use N threads (default: $(nproc)) > > -s: lowest address shift (default: 47) > > -t: time to run (default: 256 seconds) > > Does this mean that if someone is just running all kernel selftests, > they need to wait for 256 seconds for this to finish? Yes. But low time will cover negligible amount of address space. Is there some kind of policy to not do this? LTP surely has similar tests for races.