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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2840C636CC for ; Thu, 16 Feb 2023 20:34:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229743AbjBPUeB (ORCPT ); Thu, 16 Feb 2023 15:34:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbjBPUd7 (ORCPT ); Thu, 16 Feb 2023 15:33:59 -0500 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5122BD505 for ; Thu, 16 Feb 2023 12:33:58 -0800 (PST) Received: by mail-pl1-x64a.google.com with SMTP id i3-20020a170902cf0300b00198bc9ba4edso1608596plg.21 for ; Thu, 16 Feb 2023 12:33:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=9SZjk5loQdWFvTVeAEd1UgeUhfTRnNzA9KnZgkbqx04=; b=p784C8oxEMPboTnejSdHYKmskqvgDabkgWJ8NiSbYHkCISoMdbwOB43MBPwD2jXrJk YOeOORgxLmGZ288PuxW5Df0+mAi9y7rKYHs01W8xyL/5r9khiiog/rnAxIm1R/VZVNjA 4cIzPhP6ayKdKtx+Mt36G+qnDUEtOAF9md9PUKkVqQinkwILsBJnV6AI4zfVFxTI0kru 7ailEpS937BS4Fpu9UDgmpJ3hLyxa9xbeGIKO5mAgy9M99m1xm3RiXHU7uVILlclWIXX wGoO3qqP6xpHLiWZegzgMHgF94xt5EIAcGwDSBWdfrChkdCjCI0EJ4J+S6eOmeGzvic7 2ShA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9SZjk5loQdWFvTVeAEd1UgeUhfTRnNzA9KnZgkbqx04=; b=AcLuwVRLnHIRBuGMDNshCSZGQwb+4zqodcUxD/x2YuGQIIPF0AB+fEG30U5zzdATIP RX6hrljnga9UnhDQHmBN2yIMC9BJI8M203/+YUv619hYA4Yo7p5ME9z3SjlNa65KG8X5 LkXCQpl8DrQg9VbHYx8KPIQb2s9thHjJ2e0BQ5FnribPKQSCO26NRUJ9QSSMTsgAsMvL 9NozHXggP1VaBwmfdrOLsWa/nkyR06+upEM5FiCu944eEAS7mYeyjUF8v4JmK/Mh/e6S VSungb/1N+Pe3GmlC7gAHz5i+054IPYcdpuI+5CIhQRk5TwGS8fYkPlJPtrMrvxBuFKH 8hIQ== X-Gm-Message-State: AO0yUKUMew0fgckQF9szqNrAw1S+fB/At1HqUZSIMQXlkFWgl9saLzDS oxzEcy4j/xr6MvPTeYbGc+1I6wB6OQQ= X-Google-Smtp-Source: AK7set8TpedNvDQUP8NpQ16WJ185zMMDFTEV0xSEMVZoCcGEf3937wRMinI6lEiAFbeW5ChniCt06eLR76g= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:903:2653:b0:19b:e4c:2025 with SMTP id je19-20020a170903265300b0019b0e4c2025mr217269plb.0.1676579637808; Thu, 16 Feb 2023 12:33:57 -0800 (PST) Date: Thu, 16 Feb 2023 12:33:56 -0800 In-Reply-To: <20230216202432.1033366-1-amoorthy@google.com> Mime-Version: 1.0 References: <20230216202432.1033366-1-amoorthy@google.com> Message-ID: Subject: Re: [PATCH] selftests/kvm: Fix nsec to sec conversion in demand_paging_test. From: Sean Christopherson To: Anish Moorthy Cc: pbonzini@redhat.com, kvm@vger.kernel.org, jthoughton@google.com, oliver.upton@linux.dev Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org "KVM: selftests:" please. And when sending a new version, bump the version number, i.e. the subject should read "[PATCH v2] ..." On Thu, Feb 16, 2023, Anish Moorthy wrote: > demand_paging_test uses 1E8 as the denominator to convert nanoseconds to > seconds, which is wrong. Use NSEC_PER_SEC instead to fix the issue and > make the conversion obvious. > > Reported-by: James Houghton > Signed-off-by: Anish Moorthy > Reviewed-by: Oliver Upton > Reviewed-by: Sean Christopherson > ---