All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tina Ruchandani <ruchandani.tina@gmail.com>
To: Oliver Neukum <oneukum@suse.de>
Cc: Arnd Bergmann <arnd@arndb.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-usb <linux-usb@vger.kernel.org>,
	Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] USB: usbmon: Use 64bit timestamp for mon_bin_hdr
Date: Mon, 4 May 2015 23:37:13 -0700	[thread overview]
Message-ID: <CAB__kkntYHar4yH3hEUFTn3UaXmQTu8qurVCuTeueVS9DVHdUg@mail.gmail.com> (raw)

> but the timestamp will also overflow. So what is the point?
>

The 32-bit timestamp obtained using do_gettimeofday() will overflow in
year 2038. However, with 64-bit timestamps, we get practically
infinite time. mon_bin_hdr already has support for a 64-bit seconds
timestamp. This patch changes how it is populated.

Thanks,
Tina

             reply	other threads:[~2015-05-05  6:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-05  6:37 Tina Ruchandani [this message]
2015-05-05 14:52 ` [PATCH] USB: usbmon: Use 64bit timestamp for mon_bin_hdr Alan Stern
  -- strict thread matches above, loose matches on Subject: below --
2015-05-05  6:20 Tina Ruchandani
2015-05-05  6:25 ` Oliver Neukum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAB__kkntYHar4yH3hEUFTn3UaXmQTu8qurVCuTeueVS9DVHdUg@mail.gmail.com \
    --to=ruchandani.tina@gmail.com \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=oneukum@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.