From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3CCC6C433ED for ; Fri, 2 Apr 2021 21:59:38 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A96AD6117A for ; Fri, 2 Apr 2021 21:59:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A96AD6117A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 28D7E6B0081; Fri, 2 Apr 2021 17:59:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 23D488D0002; Fri, 2 Apr 2021 17:59:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 105AA6B0083; Fri, 2 Apr 2021 17:59:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0211.hostedemail.com [216.40.44.211]) by kanga.kvack.org (Postfix) with ESMTP id E52366B0081 for ; Fri, 2 Apr 2021 17:59:36 -0400 (EDT) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 9D7C31802CCB4 for ; Fri, 2 Apr 2021 21:59:36 +0000 (UTC) X-FDA: 77988794352.20.3B72183 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf17.hostedemail.com (Postfix) with ESMTP id E42FC40002D0 for ; Fri, 2 Apr 2021 21:59:34 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id CDEDF61178; Fri, 2 Apr 2021 21:59:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1617400775; bh=XO9W2tGPvoFG0+fp3fiEOn+pW0vP5nST5nM/mzrCnkQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VdCr8AnzEu4UelCJ0z3ifSGzXZP5BoHAVrZcp4omJlNxcFF1U/AglvAJL1t1Ky1bg wqxK809AQ+C5QAQUn0j6159eqU9PR0KQwdFlsCrhMdrekCgWvCCvAW89hH/vdgmFHS GMpr4Ig0RMYBMpsV802HynsaF5kHoUY41y7Q7nyY= Date: Fri, 2 Apr 2021 14:59:34 -0700 From: Andrew Morton To: "Uladzislau Rezki (Sony)" Cc: linux-mm@kvack.org, LKML , Hillf Danton , Michal Hocko , Matthew Wilcox , Oleksiy Avramchenko , Steven Rostedt Subject: Re: [PATCH-next 2/5] lib/test_vmalloc.c: add a new 'nr_threads' parameter Message-Id: <20210402145934.719192be298eadbeecb321d2@linux-foundation.org> In-Reply-To: <20210402202237.20334-2-urezki@gmail.com> References: <20210402202237.20334-1-urezki@gmail.com> <20210402202237.20334-2-urezki@gmail.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Stat-Signature: ngyb9uyk7d4fttadebsneq36dtqfzxn8 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: E42FC40002D0 Received-SPF: none (linux-foundation.org>: No applicable sender policy available) receiver=imf17; identity=mailfrom; envelope-from=""; helo=mail.kernel.org; client-ip=198.145.29.99 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1617400774-709695 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, 2 Apr 2021 22:22:34 +0200 "Uladzislau Rezki (Sony)" wrote: > By using this parameter we can specify how many workers are > created to perform vmalloc tests. By default it is one CPU. > The maximum value is set to 1024. > > As a result of this change a 'single_cpu_test' one becomes > obsolete, therefore it is no longer needed. > Why limit to 1024? Maybe testers want more - what's the downside to permitting that? We may need to replaced that kcalloc() with kmvalloc() though...