All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Shao <huishao@microsoft.com>
To: Mike Surcouf <mps.surcouf.lkml@gmail.com>
Cc: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"driverdev-devel@linuxdriverproject.org" 
	<driverdev-devel@linuxdriverproject.org>,
	Olaf Hering <olaf@aepfle.de>, Robo Bot <apw@canonical.com>,
	"jasowang@redhat.com" <jasowang@redhat.com>,
	KY Srinivasan <kys@microsoft.com>,
	Haiyang Zhang <haiyangz@microsoft.com>
Subject: RE: [PATCH] Drivers: hv: util: Implement Time Synchronization using host time sample
Date: Fri, 26 Sep 2014 15:13:24 +0000	[thread overview]
Message-ID: <CD2CABCB2C0A0D4682C5F8AD84014154098BC7@HKXPRD3002MB006.064d.mgd.msft.net> (raw)
In-Reply-To: <CAL7Bo8EocBnW28r-QtYU7AvSTyQNdMm39ns5WyM2++rbnJKxrg@mail.gmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1051 bytes --]



> -----Original Message-----
> From: Mike Surcouf [mailto:mps.surcouf.lkml@gmail.com]
> Sent: Friday, September 26, 2014 9:52 PM
> To: Thomas Shao
> Cc: gregkh@linuxfoundation.org; linux-kernel@vger.kernel.org;
> driverdev-devel@linuxdriverproject.org; Olaf Hering; Robo Bot;
> jasowang@redhat.com; KY Srinivasan; Haiyang Zhang
> Subject: Re: [PATCH] Drivers: hv: util: Implement Time Synchronization using
> host time sample
> 
> In CENTOS and RHEL 6 and upwards the official way would be to use
> 
> /usr/sbin/tickadj
> 
> which is provided by ntp/chrony package
> 
> This dependency on user space packages that may or may not be installed is
> going to cause a lot of confusion in an already confused space.
> Are we sure theres no other way?

Thanks Mike.
I think another way is to expose the do_adjtimex to kernel module. I'm not sure if there is any concerns. I'll investigate that.
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

WARNING: multiple messages have this Message-ID (diff)
From: Thomas Shao <huishao@microsoft.com>
To: Mike Surcouf <mps.surcouf.lkml@gmail.com>
Cc: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"driverdev-devel@linuxdriverproject.org"
	<driverdev-devel@linuxdriverproject.org>,
	Olaf Hering <olaf@aepfle.de>, Robo Bot <apw@canonical.com>,
	"jasowang@redhat.com" <jasowang@redhat.com>,
	KY Srinivasan <kys@microsoft.com>,
	Haiyang Zhang <haiyangz@microsoft.com>
Subject: RE: [PATCH] Drivers: hv: util: Implement Time Synchronization using host time sample
Date: Fri, 26 Sep 2014 15:13:24 +0000	[thread overview]
Message-ID: <CD2CABCB2C0A0D4682C5F8AD84014154098BC7@HKXPRD3002MB006.064d.mgd.msft.net> (raw)
In-Reply-To: <CAL7Bo8EocBnW28r-QtYU7AvSTyQNdMm39ns5WyM2++rbnJKxrg@mail.gmail.com>



> -----Original Message-----
> From: Mike Surcouf [mailto:mps.surcouf.lkml@gmail.com]
> Sent: Friday, September 26, 2014 9:52 PM
> To: Thomas Shao
> Cc: gregkh@linuxfoundation.org; linux-kernel@vger.kernel.org;
> driverdev-devel@linuxdriverproject.org; Olaf Hering; Robo Bot;
> jasowang@redhat.com; KY Srinivasan; Haiyang Zhang
> Subject: Re: [PATCH] Drivers: hv: util: Implement Time Synchronization using
> host time sample
> 
> In CENTOS and RHEL 6 and upwards the official way would be to use
> 
> /usr/sbin/tickadj
> 
> which is provided by ntp/chrony package
> 
> This dependency on user space packages that may or may not be installed is
> going to cause a lot of confusion in an already confused space.
> Are we sure theres no other way?

Thanks Mike.
I think another way is to expose the do_adjtimex to kernel module. I'm not sure if there is any concerns. I'll investigate that.

  reply	other threads:[~2014-09-26 15:14 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26 10:02 [PATCH] Drivers: hv: util: Implement Time Synchronization using host time sample Thomas Shao
2014-09-26 11:53 ` Mike Surcouf
2014-09-26 11:53   ` Mike Surcouf
2014-09-26 12:30   ` Thomas Shao
2014-09-26 12:30     ` Thomas Shao
2014-09-26 13:07     ` Mike Surcouf
2014-09-26 13:07       ` Mike Surcouf
2014-09-26 13:52       ` Mike Surcouf
2014-09-26 13:52         ` Mike Surcouf
2014-09-26 15:13         ` Thomas Shao [this message]
2014-09-26 15:13           ` Thomas Shao
  -- strict thread matches above, loose matches on Subject: below --
2014-09-23  5:44 Thomas Shao
2014-09-23  7:56 ` Olaf Hering
2014-09-23  7:56   ` Olaf Hering
2014-09-23  9:47   ` Thomas Shao
2014-09-23  9:47     ` Thomas Shao
2014-09-25  6:07   ` Sitsofe Wheeler
2014-09-25  9:40     ` Thomas Shao
2014-09-25  9:40       ` Thomas Shao

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=CD2CABCB2C0A0D4682C5F8AD84014154098BC7@HKXPRD3002MB006.064d.mgd.msft.net \
    --to=huishao@microsoft.com \
    --cc=apw@canonical.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=haiyangz@microsoft.com \
    --cc=jasowang@redhat.com \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mps.surcouf.lkml@gmail.com \
    --cc=olaf@aepfle.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.