Re: Setting monotonic time?

2018-10-03 Thread Arnd Bergmann
On Wed, Oct 3, 2018 at 8:14 AM Eric W. Biederman wrote: > > Thomas Gleixner writes: > > > On Wed, 3 Oct 2018, Eric W. Biederman wrote: > >> Direct access to hardware/drivers and not through an abstraction like > >> the vfs (an abstraction over block devices) can legitimately be handled > >> by ho

Re: Setting monotonic time?

2018-10-02 Thread Thomas Gleixner
On Wed, 3 Oct 2018, Thomas Gleixner wrote: > On Wed, 3 Oct 2018, Eric W. Biederman wrote: > > Direct access to hardware/drivers and not through an abstraction like > > the vfs (an abstraction over block devices) can legitimately be handled > > by hotplug events. I unplug one keyboard I plug in ano

Re: Setting monotonic time?

2018-10-02 Thread Eric W. Biederman
Thomas Gleixner writes: > On Wed, 3 Oct 2018, Eric W. Biederman wrote: >> Direct access to hardware/drivers and not through an abstraction like >> the vfs (an abstraction over block devices) can legitimately be handled >> by hotplug events. I unplug one keyboard I plug in another. >> >> I don't

Re: Setting monotonic time?

2018-10-02 Thread Thomas Gleixner
On Wed, 3 Oct 2018, Eric W. Biederman wrote: > Direct access to hardware/drivers and not through an abstraction like > the vfs (an abstraction over block devices) can legitimately be handled > by hotplug events. I unplug one keyboard I plug in another. > > I don't know if the input layer is more

Re: Setting monotonic time?

2018-10-02 Thread Eric W. Biederman
Thomas Gleixner writes: > On Tue, 2 Oct 2018, Arnd Bergmann wrote: >> On Mon, Oct 1, 2018 at 8:53 PM Thomas Gleixner wrote: >> > >> > On Mon, 1 Oct 2018, Eric W. Biederman wrote: >> > > In the context of process migration there is a simpler subproblem that I >> > > think it is worth exploring if

Re: Setting monotonic time?

2018-10-02 Thread Thomas Gleixner
On Tue, 2 Oct 2018, Arnd Bergmann wrote: > On Mon, Oct 1, 2018 at 8:53 PM Thomas Gleixner wrote: > > > > On Mon, 1 Oct 2018, Eric W. Biederman wrote: > > > In the context of process migration there is a simpler subproblem that I > > > think it is worth exploring if we can do something about. > > >

Re: Setting monotonic time?

2018-10-02 Thread Arnd Bergmann
On Mon, Oct 1, 2018 at 8:53 PM Thomas Gleixner wrote: > > On Mon, 1 Oct 2018, Eric W. Biederman wrote: > > In the context of process migration there is a simpler subproblem that I > > think it is worth exploring if we can do something about. > > > > For a cluster of machines all running with synch

Re: Setting monotonic time?

2018-10-01 Thread Thomas Gleixner
On Mon, 1 Oct 2018, Andrey Vagin wrote: > On Mon, Oct 01, 2018 at 11:15:32AM +0200, Eric W. Biederman wrote: > > > > In the context of process migration there is a simpler subproblem that I > > think it is worth exploring if we can do something about. > > > > For a cluster of machines all running

Re: Setting monotonic time?

2018-10-01 Thread Andrey Vagin
On Mon, Oct 01, 2018 at 11:15:32AM +0200, Eric W. Biederman wrote: > > In the context of process migration there is a simpler subproblem that I > think it is worth exploring if we can do something about. > > For a cluster of machines all running with synchronized > clocks. CLOCK_REALTIME matches.

Re: Setting monotonic time?

2018-10-01 Thread Thomas Gleixner
On Mon, 1 Oct 2018, Eric W. Biederman wrote: > In the context of process migration there is a simpler subproblem that I > think it is worth exploring if we can do something about. > > For a cluster of machines all running with synchronized > clocks. CLOCK_REALTIME matches. CLOCK_MONOTNIC does not

Setting monotonic time?

2018-10-01 Thread Eric W. Biederman
In the context of process migration there is a simpler subproblem that I think it is worth exploring if we can do something about. For a cluster of machines all running with synchronized clocks. CLOCK_REALTIME matches. CLOCK_MONOTNIC does not match between machines. Not having a matching CLOCK