Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1299697ybl; Thu, 22 Aug 2019 12:18:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoNCnhJLyxIDX1zuCfIn6hO3R098tBZk/plWHYl+AXA3MWLQsuEVAvqXTVeaRqN+xB2qCf X-Received: by 2002:a62:3744:: with SMTP id e65mr837114pfa.69.1566501523115; Thu, 22 Aug 2019 12:18:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566501523; cv=none; d=google.com; s=arc-20160816; b=Nk/3GY1N1mlFirtflA2NTtvUEZYMOchHZ7y7MtZzAiTSf9fa5OP6+jzv6g33IolaIE UM5WkQc4/i9vP7eRw6vUKmACTFF5u9gT9g/U7cS6g+oUob7Wpdjz1oc6JcRl1CqIQfAu siY6MuNsH2rQvPcRTYXkKsVAGiOdbCoR0J28U7iNEGJxoGuk1OLZnd+CCL0HZLDIBS0/ Q54TNLkk9ZF4RdA5SPK1X3xIcPeC1/sWN0e+2wCoiqepKcExHN/DI3zpY2xjn4HSBcDs lqcmXWd3a6JP5IslKrbvkY+oqfipw8AD4+o/UXr5zcBOCK2uCubV9G8bneoTJxaki6Mk /rwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1Lk6vpvXEnqyBIiF7mfosTDxjQHB/xspWO9Lu1M6UoE=; b=R43erNZr51d/0YIJkULcxLfmQuE7XSyM4+IpNGiXkZ9lPCo4saFEVmyZYECa6deTn9 eOqYGiEg/48UQ17NUyPPsHw3gn7VzdB1EqRkjf7+OwENVPQxjg7bJ0z78VL1qGWgJ13I Z/gQi0SQSdtcXbm3AVuPhYvOQqnyDj/iws+HSl3MTeQe9fN1/gKPNdyPP5J94hn+K5X3 /jMEDS58rDmWTwwgNoBp9L3A8zRKZXe0nSjPaP7ON27pXl+PsUYibGrEaJOBUH/d9tDi OFhofUQKulEKxU3o+wKyRiDGi64Yp9zyzo3WNzKGGsyc6NVwHIV5CjGGY7I2HhZ+nmm0 Pw+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=SYHDb2AM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si308940plo.298.2019.08.22.12.18.27; Thu, 22 Aug 2019 12:18:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=SYHDb2AM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732880AbfHVOGl (ORCPT + 99 others); Thu, 22 Aug 2019 10:06:41 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:51930 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725876AbfHVOGl (ORCPT ); Thu, 22 Aug 2019 10:06:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=1Lk6vpvXEnqyBIiF7mfosTDxjQHB/xspWO9Lu1M6UoE=; b=SYHDb2AMXYKCedEm6oL6F8881D Myw8GGHu+VRMM0ooZwWvUSN8DLSJWjAb5MhofINo3qOLQaLj/4WdWZtvUCwSPaqX7bXjMvZPXhBDR xhbtyeM836pJvFfOpwg/61bxyzxrewNQyul6M4JdG82AF+HOMA9+QMnm396ONYAbDDYY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1i0njX-0004VA-A1; Thu, 22 Aug 2019 16:06:35 +0200 Date: Thu, 22 Aug 2019 16:06:35 +0200 From: Andrew Lunn To: Aya Levin Cc: "David S. Miller" , Jiri Pirko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net] devlink: Add method for time-stamp on reporter's dump Message-ID: <20190822140635.GH13020@lunn.ch> References: <1566461871-21992-1-git-send-email-ayal@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1566461871-21992-1-git-send-email-ayal@mellanox.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 22, 2019 at 11:17:51AM +0300, Aya Levin wrote: > When setting the dump's time-stamp, use ktime_get_real in addition to > jiffies. This simplifies the user space implementation and bypasses > some inconsistent behavior with translating jiffies to current time. Hi Aya Is this year 2038 safe? I don't know enough about this to answer the question myself. Thanks Andrew