On Sat, Oct 29, 2016 at 07:03:30PM +0200, Sven Joachim wrote:
> I cannot reproduce that, FWIW. Also, arch/x86/entry/vdso/Makefile seems
> to explicitly filter out -mfentry from the compiler flags, but maybe I
> misunderstand something.
Compiler flags, yes; assembler flags, no. Perhaps adding
On Sat, Oct 29, 2016 at 07:03:30PM +0200, Sven Joachim wrote:
> I cannot reproduce that, FWIW. Also, arch/x86/entry/vdso/Makefile seems
> to explicitly filter out -mfentry from the compiler flags, but maybe I
> misunderstand something.
Compiler flags, yes; assembler flags, no. Perhaps adding
Hi Sven,
On Mon, Oct 24, 2016 at 07:32:30PM +0200, Sven Joachim wrote:
> The attached patch works for me with Debian's gcc-6 package.
I tried your patch when building 4.8.5 on an up-to-date Debian testing and
still got this:
AS arch/x86/entry/vdso/vdso32/note.o
Hi Sven,
On Mon, Oct 24, 2016 at 07:32:30PM +0200, Sven Joachim wrote:
> The attached patch works for me with Debian's gcc-6 package.
I tried your patch when building 4.8.5 on an up-to-date Debian testing and
still got this:
AS arch/x86/entry/vdso/vdso32/note.o
Hi,
On Fri, May 11, 2007 at 12:51:32PM -0700, Andrew Morton wrote:
> On Fri, 11 May 2007 10:45:31 +0200
> Tomas Janousek <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> >
> > On Thu, May 10, 2007 at 04:40:47PM -0700, Andrew Morton wrote:
> > >
Hi,
On Thu, May 10, 2007 at 04:40:47PM -0700, Andrew Morton wrote:
> On Thu, 10 May 2007 19:10:42 +0200
> Tomas Janousek <[EMAIL PROTECTED]> wrote:
> > @@ -918,7 +918,7 @@ struct task_struct {
> > unsigned int rt_priority;
> > cputime_t utime, stime;
>
Hello,
On Thu, May 10, 2007 at 04:40:47PM -0700, Andrew Morton wrote:
> Tomas Janousek <[EMAIL PROTECTED]> wrote:
> > @@ -445,12 +445,14 @@ static int show_stat(struct seq_file *p, void *v)
> > unsigned long jif;
> > cputime64_t user, nice, system, idle,
Hello,
On Thu, May 10, 2007 at 04:40:47PM -0700, Andrew Morton wrote:
Tomas Janousek [EMAIL PROTECTED] wrote:
@@ -445,12 +445,14 @@ static int show_stat(struct seq_file *p, void *v)
unsigned long jif;
cputime64_t user, nice, system, idle, iowait, irq, softirq, steal;
u64 sum
Hi,
On Thu, May 10, 2007 at 04:40:47PM -0700, Andrew Morton wrote:
On Thu, 10 May 2007 19:10:42 +0200
Tomas Janousek [EMAIL PROTECTED] wrote:
@@ -918,7 +918,7 @@ struct task_struct {
unsigned int rt_priority;
cputime_t utime, stime;
unsigned long nvcsw, nivcsw; /* context
Hi,
On Fri, May 11, 2007 at 12:51:32PM -0700, Andrew Morton wrote:
On Fri, 11 May 2007 10:45:31 +0200
Tomas Janousek [EMAIL PROTECTED] wrote:
Hello,
On Thu, May 10, 2007 at 04:40:47PM -0700, Andrew Morton wrote:
Tomas Janousek [EMAIL PROTECTED] wrote:
@@ -445,12 +445,14
Hi Ingo,
On Thu, May 10, 2007 at 09:48:59PM +0200, Ingo Oeser wrote:
> > +static unsigned long total_sleep_time;
>
> Could you make that a ktime_t (or struct ktime)?
> There are machines, which sleep more than they are awake.
> Just imagine a surveillance camera triggered by door entrance.
>
>
and process start time calculations then.
Also, the uptime no longer increases during suspend.
I add a variable to track the wall_to_monotonic changes, a function to get the
real boot time and a function to get the boot based time from the monotonic
one.
Signed-off-by: Tomas Janousek <[EMAIL PROTEC
Commit 411187fb05cd11676b0979d9fbf3291db69dbce2 caused uptime not to increase
during suspend. This may cause confusion so I restore the old behaviour by
using the boot based time instead of monotonic for uptime.
Signed-off-by: Tomas Janousek <[EMAIL PROTECTED]>
---
fs/proc/proc_misc.c
Commit 411187fb05cd11676b0979d9fbf3291db69dbce2 caused boot time to move and
process start times to become invalid after suspend. Using boot based time for
those restores the old behaviour and fixes the issue.
Signed-off-by: Tomas Janousek <[EMAIL PROTECTED]>
Cc: Tomas Smetana <[EMAIL
Commit 411187fb05cd11676b0979d9fbf3291db69dbce2 caused boot time to move and
process start times to become invalid after suspend. Using boot based time for
those restores the old behaviour and fixes the issue.
Signed-off-by: Tomas Janousek [EMAIL PROTECTED]
Cc: Tomas Smetana [EMAIL PROTECTED]
Cc
Commit 411187fb05cd11676b0979d9fbf3291db69dbce2 caused uptime not to increase
during suspend. This may cause confusion so I restore the old behaviour by
using the boot based time instead of monotonic for uptime.
Signed-off-by: Tomas Janousek [EMAIL PROTECTED]
---
fs/proc/proc_misc.c |1
and process start time calculations then.
Also, the uptime no longer increases during suspend.
I add a variable to track the wall_to_monotonic changes, a function to get the
real boot time and a function to get the boot based time from the monotonic
one.
Signed-off-by: Tomas Janousek [EMAIL PROTECTED]
Cc
Hi Ingo,
On Thu, May 10, 2007 at 09:48:59PM +0200, Ingo Oeser wrote:
+static unsigned long total_sleep_time;
Could you make that a ktime_t (or struct ktime)?
There are machines, which sleep more than they are awake.
Just imagine a surveillance camera triggered by door entrance.
Yes,
Hi,
On Fri, May 04, 2007 at 11:18:52AM -0700, john stultz wrote:
> > diff --git a/kernel/fork.c b/kernel/fork.c
> > index 6af959c..b10d9b7 100644
> > --- a/kernel/fork.c
> > +++ b/kernel/fork.c
> > @@ -1056,6 +1056,7 @@ static struct task_struct *copy_process(unsigned long
> > clone_flags,
> >
r we can provide both smooth
> monotonic and monotonic w/ sleep.
Ok, thanks for the comment, I did so.
And here's new patch:
From: Tomas Janousek <[EMAIL PROTECTED]>
Subject: [PATCH] Fix boot time and process startup times after suspend
The commi
for the comment, I did so.
And here's new patch:
From: Tomas Janousek [EMAIL PROTECTED]
Subject: [PATCH] Fix boot time and process startup times after suspend
The commits
411187fb05cd11676b0979d9fbf3291db69dbce2 (GTOD: persistent clock support)
c1d370e167d66b10bca3b602d3740405469383de (i386: use GTOD
Hi,
On Fri, May 04, 2007 at 11:18:52AM -0700, john stultz wrote:
diff --git a/kernel/fork.c b/kernel/fork.c
index 6af959c..b10d9b7 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1056,6 +1056,7 @@ static struct task_struct *copy_process(unsigned long
clone_flags,
ll_to_monotonic.tv_sec -= sleep_length;
+ total_sleep_time += sleep_length;
}
/* re-base the last cycle value */
clock->cycle_last = clocksource_read(clock);
Regards,
--
Tomas Janousek, SW Engineer, Red Hat, Inc.
--- procps-3.2.7/ps/output.c.jitter 2007-04-26 13:15:47.000
;
+ total_sleep_time += sleep_length;
}
/* re-base the last cycle value */
clock-cycle_last = clocksource_read(clock);
Regards,
--
Tomas Janousek, SW Engineer, Red Hat, Inc.
--- procps-3.2.7/ps/output.c.jitter 2007-04-26 13:15:47.0 +0200
+++ procps-3.2.7/ps/output.c
24 matches
Mail list logo