Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1090933pxb; Sat, 17 Apr 2021 06:24:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfYvc8nmhWI68CYABLTHgzKWXIFX8I9MbUb7SBjFZvFz4t8bGxY9HKQPnepKEVUEY6CuEY X-Received: by 2002:aa7:d046:: with SMTP id n6mr14541395edo.357.1618665878201; Sat, 17 Apr 2021 06:24:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618665878; cv=none; d=google.com; s=arc-20160816; b=M2WyhEzZyI+2CRM5ekRxS9X5U4ckaY7a9JpSAcdsSILeSj1IYFOJjxZX5HwVye9bK0 QrbvjQtydR6Wms7ZjtCsSH+NZ1N9I9GJ4b8rPHvYpdvuedYNQkLOPsaEU97SEdf7l1BD QixDo6Gb3dM0thUw60X4nhNr8p8x88WiPV9wIDRflk2iqvCXiAipoUQp4XdgeTg7ED40 v0PBcHc09BqEVHVI2wtDrmfL7/nXxt08OtMbapdQWvXs+CZbY+BQDnRCcBvcxvhXRJ9U jH8hOJ5xXN9FXHP6V5NpgemJ+6xHjXjYCi/EA0915wfvbkax59FzFJ5p8LaKMsbXnKQk 5Y8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=yw4f9VhSLXXjilbd0IdU8Ck10pIC4eDkCvAmZBVAhG8=; b=eCe3AHnHlg8M41A0NJ8vzLJpa/PtlFB1pFHGm0dvPgz3lAwKxMHjM18xJKsxgOKDNQ WQAe0iyiIT3kEPf9P7JXRqfAQ/hNJ3gMwNVpTsklK0ErKoOWViBaP/ImqRGu8oHMfHrY 2tzGLiEDcW22oQzk8/uobKJw9M5XbO2WWtl5e3ee3oDqLibo8Vp4CP2sm3b2d81OV5T5 Ltt7VdbnFsaK4WKvaHFcyVDIY3Jqp5rtef7t5LJsveApsqX9XLzNKYJAl/unqnMYP1UV GCgxRm1kXFBGfdHwXLV+ctVxBWvzNIPu6OrMLIPwnwCaSBJfB+HZ39YcYhEdlLUHpRLm XZTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EAAz0oig; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c18si2050484eds.256.2021.04.17.06.24.15; Sat, 17 Apr 2021 06:24:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EAAz0oig; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236312AbhDQNXr (ORCPT + 99 others); Sat, 17 Apr 2021 09:23:47 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:59250 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230442AbhDQNXr (ORCPT ); Sat, 17 Apr 2021 09:23:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618665800; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yw4f9VhSLXXjilbd0IdU8Ck10pIC4eDkCvAmZBVAhG8=; b=EAAz0oigrhNBX55vcauKnN5Ba2Leto7RrLNRT95eETDpCEZeHtP3R5DlBD2gX01vvOh0qA WlYDG82Bqv0hbPsN4l4PN+oeYQ2G4Og0UkQdwry12JxC27DH/mY48x9bDWW6aSYQmwU8kA 5PJ4GcEoZf8Q52ki2mm2qAcnShPaqJI= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-304-vtDTAF_eM2e4Xr3yrAHgCw-1; Sat, 17 Apr 2021 09:23:18 -0400 X-MC-Unique: vtDTAF_eM2e4Xr3yrAHgCw-1 Received: by mail-ed1-f69.google.com with SMTP id l7-20020aa7c3070000b029038502ffe9f2so2884483edq.16 for ; Sat, 17 Apr 2021 06:23:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yw4f9VhSLXXjilbd0IdU8Ck10pIC4eDkCvAmZBVAhG8=; b=iUpQM45Dxq8Go+x5CXmjEM9RVcnOAIktSbwnoiZO26lm0Omgo3/7tmLyeJfRrZ8/jA pCS2GMx5nYod3Roej0F/xg5Fjd4mI4NGFps4FpOlv7NepU+tQXN0uJ96HQRIae3zA81Z lHh6paLJmGrI/HJszbIOCMPt2gKH2kR8Umr4pMnThTqZcYDvPG6/Mvtrds0lmlIhoZ4s GngWh9AR50y1oVvNOPTRMzCuUuWdGJupO9rxArxykTk8hXdf3MGy0h/Vr0NnnmtHBsw/ h5+JbKNACefi9i9ompAmma36aL4vS7F1wg+HUjK+dPzpDi2Tb/TMjSrzNiO8fzwCSGCZ YOEg== X-Gm-Message-State: AOAM5324R/J+NNQlam1musnLzgFB5TSgDMj1ptF8xqrj6/iQ1rDQt58q honn//3le2Fk2YZGXxNuIZTyV8RfduyiY/RbLTXD56wbMpHlgymBphUsHeC4FZnIs6ziP76Bo/2 OM3Vz97OTZl4wdIDCj8tp8xda X-Received: by 2002:a05:6402:30a3:: with SMTP id df3mr1872149edb.230.1618665797759; Sat, 17 Apr 2021 06:23:17 -0700 (PDT) X-Received: by 2002:a05:6402:30a3:: with SMTP id df3mr1872123edb.230.1618665797611; Sat, 17 Apr 2021 06:23:17 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id d21sm6393214ejz.14.2021.04.17.06.23.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Apr 2021 06:23:17 -0700 (PDT) Subject: Re: [PATCH v6 03/10] KVM: selftests: Use flag CLOCK_MONOTONIC_RAW for timing To: Yanan Wang , Andrew Jones , kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ben Gardon , Sean Christopherson , Vitaly Kuznetsov , Peter Xu , Ingo Molnar , Adrian Hunter , Jiri Olsa , Arnaldo Carvalho de Melo , Arnd Bergmann , Michael Kerrisk , Thomas Gleixner , wanghaibin.wang@huawei.com, yuzenghui@huawei.com References: <20210330080856.14940-1-wangyanan55@huawei.com> <20210330080856.14940-4-wangyanan55@huawei.com> From: Paolo Bonzini Message-ID: <1f892f30-1a72-1bcb-462f-b3d6f2bababb@redhat.com> Date: Sat, 17 Apr 2021 15:23:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210330080856.14940-4-wangyanan55@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/03/21 10:08, Yanan Wang wrote: > In addition to function of CLOCK_MONOTONIC, flag CLOCK_MONOTONIC_RAW can > also shield possiable impact of NTP, which can provide more robustness. > > Suggested-by: Vitaly Kuznetsov > Signed-off-by: Yanan Wang > Reviewed-by: Ben Gardon > Reviewed-by: Andrew Jones I'm not sure about this one, is the effect visible? Paolo