Commit-ID: 2cb763614c1c5baef58045af9304265075f22d0a
Gitweb: http://git.kernel.org/tip/2cb763614c1c5baef58045af9304265075f22d0a
Author: Dong Zhu
AuthorDate: Thu, 10 Oct 2013 15:56:18 +0800
Committer: Ingo Molnar
CommitDate: Thu, 10 Oct 2013 09:59:25 +0200
timer stats: Add a 'Collection
;
> > > Also, please bump up the version to v0.3, to give parsers a chance.
>
> I think you forgot about this suggestion of mine.
>
Oh, oops, sorry about that.
I modified the patch again as below, hope it could be applied this time.
>From 92a67f74766e02b5f4702b1af2af9861bf7
> > Agree, I modified this patch and resubmited it again, Could you help
> > reviewing it again ? Thanks !
> >
> > From 263c40abea8011c82582b2d671ae783b26f44bd5 Mon Sep 17 00:00:00 2001
> > From: Dong Zhu
> > Date: Thu, 10 Oct 2013 13:46:08 +0800
> >
Hi Ingo and John,
On Thu, Oct 10, 2013 at 06:35:19AM +0200, Ingo Molnar wrote:
>
> * Dong Zhu wrote:
>
> > From f41628c61d8a9172677ba33a55b61e37ce28f7a6 Mon Sep 17 00:00:00 2001
> > From: Dong Zhu
> > Date: Thu, 10 Oct 2013 10:38:13 +0800
> >
> > W
Hi Ingo and John,
On Thu, Oct 10, 2013 at 06:35:19AM +0200, Ingo Molnar wrote:
* Dong Zhu bluezhud...@gmail.com wrote:
From f41628c61d8a9172677ba33a55b61e37ce28f7a6 Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Thu, 10 Oct 2013 10:38:13 +0800
When we stop
Agree, I modified this patch and resubmited it again, Could you help
reviewing it again ? Thanks !
From 263c40abea8011c82582b2d671ae783b26f44bd5 Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Thu, 10 Oct 2013 13:46:08 +0800
We can enable|disable timer
of mine.
Oh, oops, sorry about that.
I modified the patch again as below, hope it could be applied this time.
From 92a67f74766e02b5f4702b1af2af9861bf70d60b Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Thu, 10 Oct 2013 15:48:29 +0800
We can enable|disable timer statistics
Commit-ID: 2cb763614c1c5baef58045af9304265075f22d0a
Gitweb: http://git.kernel.org/tip/2cb763614c1c5baef58045af9304265075f22d0a
Author: Dong Zhu bluezhud...@gmail.com
AuthorDate: Thu, 10 Oct 2013 15:56:18 +0800
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Thu, 10 Oct 2013 09:59:25
>From f41628c61d8a9172677ba33a55b61e37ce28f7a6 Mon Sep 17 00:00:00 2001
From: Dong Zhu
Date: Thu, 10 Oct 2013 10:38:13 +0800
When we stop timer statistics collection (via echo 0 >
/proc/timers_stats), the statistics data is still exported as if it were
correct, which can cause applic
From f41628c61d8a9172677ba33a55b61e37ce28f7a6 Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Thu, 10 Oct 2013 10:38:13 +0800
When we stop timer statistics collection (via echo 0
/proc/timers_stats), the statistics data is still exported as if it were
correct, which can
it makes no sense, so this patch intends to add a range check.
Signed-off-by: Dong Zhu
---
drivers/ptp/ptp_chardev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/ptp/ptp_chardev.c b/drivers/ptp/ptp_chardev.c
index 34a0c60..4e85b23 100644
--- a/drivers/ptp/ptp_
no sense, so this patch intends to add a range check.
Signed-off-by: Dong Zhu bluezhud...@gmail.com
---
drivers/ptp/ptp_chardev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/ptp/ptp_chardev.c b/drivers/ptp/ptp_chardev.c
index 34a0c60..4e85b23 100644
--- a/drivers/ptp
add a method into testptp.c to measure the time offset
between phc and system clock through the ioctl PTP_SYS_OFFSET.
Signed-off-by: Dong Zhu
---
Documentation/ptp/testptp.c | 65 +++--
1 file changed, 63 insertions(+), 2 deletions(-)
diff --
a method into testptp.c to measure the time offset
between phc and system clock through the ioctl PTP_SYS_OFFSET.
Signed-off-by: Dong Zhu bluezhud...@gmail.com
---
Documentation/ptp/testptp.c | 65 +++--
1 file changed, 63 insertions(+), 2 deletions(-)
diff
Hi Richard,
Thanks for your comments, I modified the patch and resubmit it again:
>From 7636f69b74c34eca14c85fd2d518da6044b94f53 Mon Sep 17 00:00:00 2001
From: Dong Zhu
Date: Sun, 15 Sep 2013 17:12:52 +0800
This patch add a method into testptp.c to measure the time offset
between
Hi Richard,
Thanks for your comments, I modified the patch and resubmit it again:
From 7636f69b74c34eca14c85fd2d518da6044b94f53 Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Sun, 15 Sep 2013 17:12:52 +0800
This patch add a method into testptp.c to measure the time offset
On Sat, Sep 14, 2013 at 04:31:46PM +0200, Richard Cochran wrote:
> On Sat, Sep 14, 2013 at 04:03:06PM +0800, Dong Zhu wrote:
> > This patch add a method into testptp.c to measure the time offset
> > between phc and system clock through the ioctl PTP_SYS_OFFSET.
> >
>
&
This patch add a method into testptp.c to measure the time offset
between phc and system clock through the ioctl PTP_SYS_OFFSET.
Signed-off-by: Dong Zhu
---
Documentation/ptp/testptp.c | 40 ++--
1 file changed, 38 insertions(+), 2 deletions(-)
diff --git
This patch add a method into testptp.c to measure the time offset
between phc and system clock through the ioctl PTP_SYS_OFFSET.
Signed-off-by: Dong Zhu bluezhud...@gmail.com
---
Documentation/ptp/testptp.c | 40 ++--
1 file changed, 38 insertions(+), 2
On Sat, Sep 14, 2013 at 04:31:46PM +0200, Richard Cochran wrote:
On Sat, Sep 14, 2013 at 04:03:06PM +0800, Dong Zhu wrote:
This patch add a method into testptp.c to measure the time offset
between phc and system clock through the ioctl PTP_SYS_OFFSET.
This is a nice addition
Hi Stanislaw,
Thansk for your info.
On Thu, Aug 01, 2013 at 01:30:50PM +0200, Stanislaw Gruszka wrote:
> Hi Dong Zhu
>
> On Thu, Aug 01, 2013 at 06:10:19PM +0800, Dong Zhu wrote:
> > diff --git a/kernel/posix-cpu-timers.c b/kernel/posix-cpu-timers.c
> > index c7
>From c7439b90b0794c016b29356f0e232f7413ef7b60 Mon Sep 17 00:00:00 2001
From: Dong Zhu
Date: Thu, 1 Aug 2013 11:39:04 +0800
When use the current process pid as the clockid, then executes
clock_nanosleep syscall the timer will never expire. Kernel should
prevent user doing l
From c7439b90b0794c016b29356f0e232f7413ef7b60 Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Thu, 1 Aug 2013 11:39:04 +0800
When use the current process pid as the clockid, then executes
clock_nanosleep syscall the timer will never expire. Kernel should
prevent user doing
Hi Stanislaw,
Thansk for your info.
On Thu, Aug 01, 2013 at 01:30:50PM +0200, Stanislaw Gruszka wrote:
Hi Dong Zhu
On Thu, Aug 01, 2013 at 06:10:19PM +0800, Dong Zhu wrote:
diff --git a/kernel/posix-cpu-timers.c b/kernel/posix-cpu-timers.c
index c7f31aa..cc03290 100644
--- a/kernel
On Thu, Jun 20, 2013 at 06:30:48PM +0800, Dong Zhu wrote:
> On Mon, Jun 10, 2013 at 03:57:45PM +0800, Dong Zhu wrote:
> > From 4dbb760213856dc382241db456c1c6487694837c Mon Sep 17 00:00:00 2001
> > From: Dong Zhu
> > Date: Mon, 10 Jun 2013 15:09:27 +0800
> >
> >
On Thu, Jun 20, 2013 at 06:30:48PM +0800, Dong Zhu wrote:
On Mon, Jun 10, 2013 at 03:57:45PM +0800, Dong Zhu wrote:
From 4dbb760213856dc382241db456c1c6487694837c Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Mon, 10 Jun 2013 15:09:27 +0800
we can start/stop data
On Mon, Jun 10, 2013 at 03:57:45PM +0800, Dong Zhu wrote:
> From 4dbb760213856dc382241db456c1c6487694837c Mon Sep 17 00:00:00 2001
> From: Dong Zhu
> Date: Mon, 10 Jun 2013 15:09:27 +0800
>
> we can start/stop data collection by using :
> echo [1|0] > /proc/timer_stats
&g
On Mon, Jun 10, 2013 at 03:57:45PM +0800, Dong Zhu wrote:
From 4dbb760213856dc382241db456c1c6487694837c Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Mon, 10 Jun 2013 15:09:27 +0800
we can start/stop data collection by using :
echo [1|0] /proc/timer_stats
when we
>From 4dbb760213856dc382241db456c1c6487694837c Mon Sep 17 00:00:00 2001
From: Dong Zhu
Date: Mon, 10 Jun 2013 15:09:27 +0800
we can start/stop data collection by using :
echo [1|0] > /proc/timer_stats
when we stop the data collection,hrtimer will not update the statistics
for a timer an
From 4dbb760213856dc382241db456c1c6487694837c Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Mon, 10 Jun 2013 15:09:27 +0800
we can start/stop data collection by using :
echo [1|0] /proc/timer_stats
when we stop the data collection,hrtimer will not update the statistics
>
> From 8a12932fd2a3bb5ca904bc72b20140247a5d81be Mon Sep 17 00:00:00 2001
> From: Dong Zhu
> Date: Mon, 13 May 2013 17:27:59 +0800
>
> Currently kernel only support setting the hw time stamping policy
> through ioctl,now add a method to check which packets(Outgoing and
>
2001
From: Dong Zhu bluezhud...@gmail.com
Date: Mon, 13 May 2013 17:27:59 +0800
Currently kernel only support setting the hw time stamping policy
through ioctl,now add a method to check which packets(Outgoing and
Incoming) are time stamped by nic.
Add this to igb_get_ts_info, we can query
one line, I have to move the
switch out of else judegment.
I test it on I350 and 82576NS nics and it works as expect.
Could help reviewing it again ? Any comments would be appreciated.
>From 8a12932fd2a3bb5ca904bc72b20140247a5d81be Mon Sep 17 00:00:00 2001
From: Dong Zhu
Date: Mon, 13 May 2013 17:27
of else judegment.
I test it on I350 and 82576NS nics and it works as expect.
Could help reviewing it again ? Any comments would be appreciated.
From 8a12932fd2a3bb5ca904bc72b20140247a5d81be Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Mon, 13 May 2013 17:27:59 +0800
On Sun, May 12, 2013 at 07:24:46PM +0200, Richard Cochran wrote:
> On Sun, May 12, 2013 at 10:25:55PM +0800, Dong Zhu wrote:
> > Thanks for your pointing out my mistakes of CodingStyle.
> >
> > > > struct hwtstamp_config {
> > > >+int rw;
> >
omeone about the rw. At that time I will change
the type of rw to bool or define a new enum, then convert the if to
switch if necessary.
Patch after modifying:
>From cf337e7863af66428554785c32a9840fafaa3492 Mon Sep 17 00:00:00 2001
From: Dong Zhu
Date: Sun, 12 May 2013 21:57:57 +0800
Currently kern
On Sat, May 11, 2013 at 05:31:43PM +0200, Richard Cochran wrote:
> On Sat, May 11, 2013 at 10:02:19PM +0800, Dong Zhu wrote:
> >
> > Currently kernel only support setting the hw time stamping policy
> > through ioctl,now add a method to check which packets(Outgoing and
&
On Sat, May 11, 2013 at 05:31:43PM +0200, Richard Cochran wrote:
On Sat, May 11, 2013 at 10:02:19PM +0800, Dong Zhu wrote:
Currently kernel only support setting the hw time stamping policy
through ioctl,now add a method to check which packets(Outgoing and
Incoming) are time stamped
. At that time I will change
the type of rw to bool or define a new enum, then convert the if to
switch if necessary.
Patch after modifying:
From cf337e7863af66428554785c32a9840fafaa3492 Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Sun, 12 May 2013 21:57:57 +0800
Currently
On Sun, May 12, 2013 at 07:24:46PM +0200, Richard Cochran wrote:
On Sun, May 12, 2013 at 10:25:55PM +0800, Dong Zhu wrote:
Thanks for your pointing out my mistakes of CodingStyle.
struct hwtstamp_config {
+int rw;
My initial idea was that the type of rw should be enum
>From e6a55411486de8a09b859e73140bf35c0ee36047 Mon Sep 17 00:00:00 2001
From: Dong Zhu
Date: Sat, 11 May 2013 21:44:54 +0800
Subject: [PATCH] igb: add a method to get the nic hw time stamping policy
Currently kernel only support setting the hw time stamping policy
through ioctl,now add a met
From e6a55411486de8a09b859e73140bf35c0ee36047 Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Sat, 11 May 2013 21:44:54 +0800
Subject: [PATCH] igb: add a method to get the nic hw time stamping policy
Currently kernel only support setting the hw time stamping policy
through
On Tue, Dec 18, 2012 at 10:37:08PM -0800, John Stultz wrote:
> On 12/18/2012 09:15 PM, Dong Zhu wrote:
> >On Thu, Dec 06, 2012 at 10:03:34PM +0800, Dong Zhu wrote:
> >> From c126376cf1837b0956e0268056db61870fbbc1d4 Mon Sep 17 00:00:00 2001
> >>From: Dong Zhu
> &g
On Tue, Dec 18, 2012 at 10:37:08PM -0800, John Stultz wrote:
On 12/18/2012 09:15 PM, Dong Zhu wrote:
On Thu, Dec 06, 2012 at 10:03:34PM +0800, Dong Zhu wrote:
From c126376cf1837b0956e0268056db61870fbbc1d4 Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Thu, 6 Dec 2012 21
On Thu, Dec 06, 2012 at 10:03:34PM +0800, Dong Zhu wrote:
> From c126376cf1837b0956e0268056db61870fbbc1d4 Mon Sep 17 00:00:00 2001
> From: Dong Zhu
> Date: Thu, 6 Dec 2012 21:45:00 +0800
> Subject: [PATCH] timekeeping: avoid adjust kernel time once hwclock kept in
> UTC time
>
On Thu, Dec 06, 2012 at 10:03:34PM +0800, Dong Zhu wrote:
From c126376cf1837b0956e0268056db61870fbbc1d4 Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Thu, 6 Dec 2012 21:45:00 +0800
Subject: [PATCH] timekeeping: avoid adjust kernel time once hwclock kept in
UTC time
>From c126376cf1837b0956e0268056db61870fbbc1d4 Mon Sep 17 00:00:00 2001
From: Dong Zhu
Date: Thu, 6 Dec 2012 21:45:00 +0800
Subject: [PATCH] timekeeping: avoid adjust kernel time once hwclock kept in
UTC time
If the Hardware Clock kept in local time,kernel will adjust the time
to be
From c126376cf1837b0956e0268056db61870fbbc1d4 Mon Sep 17 00:00:00 2001
From: Dong Zhu bluezhud...@gmail.com
Date: Thu, 6 Dec 2012 21:45:00 +0800
Subject: [PATCH] timekeeping: avoid adjust kernel time once hwclock kept in
UTC time
If the Hardware Clock kept in local time,kernel will adjust
48 matches
Mail list logo