Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1618850rwi; Thu, 20 Oct 2022 15:07:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5yrCS9+Ue4hAAyKJxkBixy4MO56fi7LeX1HjvtD2eV4M/jzvQ1o/I2R8GzKMjGvfP/P7Ub X-Received: by 2002:a17:902:dccb:b0:181:a83b:2a8c with SMTP id t11-20020a170902dccb00b00181a83b2a8cmr16218297pll.10.1666303679537; Thu, 20 Oct 2022 15:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666303679; cv=none; d=google.com; s=arc-20160816; b=ymUe8y82dmV+Ld91PvVZmkQy29jDZTvDTVvO0w4eti5fJy68e7EykdeRMFoClN6bhq 7yEJlUorS8Hum+b22HYINcAWi8zloufQfd7+Z4ezltXV3qZMv/S/pMBEAntGJs4brQjA My/x4qcZwyVpvPxhmHk0Ss29PK+XW5PEK7Bu0QLFZzL3cL9Be7o3Z49qvdbGvU+tCin/ Su8/afEpEdH5aWQwBC4gOV8TvRKXaWGFTOEjqgOsltPOwR1Pdwwtw4/TF4G7+9TX+pqv DTBYqGkdbakBnUqYdTIYfhL+SY8qJTML4Ks8pu81FRHPGppbL2UTqm+/0b/0Z+UVMgST gdjA== 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=HwnpFYWQDbBqf/HVke+KN92XJat8rq7IpPFgfqGLXV4=; b=zxDIwddJ28rd5LKBlAr0lHCjJfwZnUh1rfJ9Jzwo7G/RcvanQhILw4xClgKGSE7iLp rQxbZAFmeBGf9g9T2x6WwC/9coWGln1qs5l83NcA3b0aSneV7knD8SrARKXM/J8JBob/ s8KGiU51WGWUxcBro+kI5K18R5nt/MJkUj2OH1CNg5aawHJMeNxTmXOl090n4fYAuCn7 XEyi6BuwmCQR/f8Bwh+FGvAYrydd3CqIc07U6yyzulltYQ7Z1mjsDJ1bUy7Nh+FlCqCN NkGoFNGe7xNPSWwAvOp7J0JT07vqrydgU0ugULnWjiJi/vNiIZAkPTKNhJaEOIBvrx64 yHLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=AplpxoXD; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bx8-20020a17090af48800b0020d65f31df8si4561876pjb.143.2022.10.20.15.07.46; Thu, 20 Oct 2022 15:07:59 -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=@google.com header.s=20210112 header.b=AplpxoXD; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229622AbiJTVqw (ORCPT + 99 others); Thu, 20 Oct 2022 17:46:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbiJTVqu (ORCPT ); Thu, 20 Oct 2022 17:46:50 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 441CC226590 for ; Thu, 20 Oct 2022 14:46:49 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id q1so751510pgl.11 for ; Thu, 20 Oct 2022 14:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.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=HwnpFYWQDbBqf/HVke+KN92XJat8rq7IpPFgfqGLXV4=; b=AplpxoXDrCQ/SesytqkfgcV3522sEAF//LP8xkEam/FjSrvMZ9tfwf6xUFZ5ZusEhA M/2AYggZy0tw231owaLyuJtJVG5cW77xpByya+F/+5PiFujQIbMPyL3NxQ2rvnT1NPz2 nJgU0twGpUteMBeAD0HsjL9GNiw29r1F0FnCR/sm3I5otT/Way3xBik6iqNjXDG8ePg6 ZlOLLIvPzUr9kVNUHqkj+xMsifSG5uSLPrFwos4AKfI31Qe0mAXgVi+7kJtrdT0PdRfy Plf/GpshnPjyy44QoQ/XYq4JJuPZkeFbYF+bpNoPnmmxGLL8XjHB+RfQxSxeXL316VxO iJxA== 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=HwnpFYWQDbBqf/HVke+KN92XJat8rq7IpPFgfqGLXV4=; b=GXLTTp6VbfBuODgNt105qP1YgaYbF0fp23aG8E8lWFiXQTH43OvlfujDOqS8/FnZsi zqyfzh2uxUnS/HdHLlayzkTUJPU3Fg8IN/TojfxMBNe/d+K7uK/O2VgJrCTNa3hbsESE 1HiO/cnCFOX0NgwsN1pV04/bK7NQ20v9/+Idxx8w0F9Y5wrN1G65Cu0rmWtWVgh7e0JD x+GIdpiJog81TDGgQQKYsmGU8rdXFXZGrSlqSj+vyINjjoqwEyK4edUXgwujq827jo5q Qqyh57aw+dNhDrxWOryRlO1aBqioczw7Uk0GuqGSKiD/+5uQcCLnugD7E/ElKQ4/1lzx Q4xQ== X-Gm-Message-State: ACrzQf3+k0Cb4D52KfpV/EQZGBFsgBeVARc630rLVietNj9UyrdETfWc RhLGVPvgnaNAnnagoRijPbZ1vw== X-Received: by 2002:a63:5a41:0:b0:430:673e:1e13 with SMTP id k1-20020a635a41000000b00430673e1e13mr13692789pgm.435.1666302408707; Thu, 20 Oct 2022 14:46:48 -0700 (PDT) Received: from google.com (7.104.168.34.bc.googleusercontent.com. [34.168.104.7]) by smtp.gmail.com with ESMTPSA id h9-20020a170902f54900b001788ccecbf5sm13554028plf.31.2022.10.20.14.46.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 14:46:48 -0700 (PDT) Date: Thu, 20 Oct 2022 21:46:44 +0000 From: Sean Christopherson To: Vipin Sharma Cc: pbonzini@redhat.com, dmatlack@google.com, andrew.jones@linux.dev, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 0/5] dirty_log_perf_test vCPU pinning Message-ID: References: <20221010220538.1154054-1-vipinsh@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221010220538.1154054-1-vipinsh@google.com> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 10, 2022, Vipin Sharma wrote: > Pin vCPUs to a host physical CPUs (pCPUs) in dirty_log_perf_test and > optionally pin the main application thread to a physical cpu if > provided. All tests based on perf_test_util framework can take advantage > of it if needed. > > While at it, I changed atoi() to atoi_paranoid(), atoi_positive, > atoi_non_negative() in other tests, sorted command line options > alphabetically in dirty_log_perf_test, and added break between -e and -g > which was missed in original commit when -e was introduced. ... > Vipin Sharma (5): > KVM: selftests: Add missing break between -e and -g option in > dirty_log_perf_test > KVM: selftests: Put command line options in alphabetical order in > dirty_log_perf_test > KVM: selftests: Add atoi_paranoid() to catch errors missed by atoi() > KVM: selftests: Add atoi_positive() and atoi_non_negative() for input > validation > KVM: selftests: Run dirty_log_perf_test on specific CPUs Minor nits on patch 5, but otherwise looks good. Might be worth sending a v6 just so there's no confusion.