All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org>
To: "Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org>
Cc: Linux Kernel Mailing List
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Kernel Testers List
	<kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Lukas Hejtmanek
	<xhejtman-8qz54MUs51PtwjQa/ONI9g@public.gmane.org>
Subject: Re: [Bug #11209] 2.6.27-rc1 process time accounting
Date: Mon, 08 Sep 2008 08:40:46 +0200	[thread overview]
Message-ID: <1220856046.8687.106.camel@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <200809080002.09381.rjw-KKrjLPT3xs0@public.gmane.org>

On Mon, 2008-09-08 at 00:02 +0200, Rafael J. Wysocki wrote:
> On Sunday, 7 of September 2008, Peter Zijlstra wrote:
> > On Sat, 2008-09-06 at 23:30 +0200, Rafael J. Wysocki wrote:
> > > This message has been generated automatically as a part of a report
> > > of recent regressions.
> > > 
> > > The following bug entry is on the current list of known regressions
> > > from 2.6.26.  Please verify if it still should be listed and let me know
> > > (either way).
> > > 
> > > 
> > > Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=11209
> > > Subject		: 2.6.27-rc1 process time accounting
> > > Submitter	: Lukas Hejtmanek <xhejtman-8qz54MUs51PtwjQa/ONI9g@public.gmane.org>
> > > Date		: 2008-07-31 10:43 (38 days old)
> > > References	: http://marc.info/?l=linux-kernel&m=121750102917490&w=4
> > > Handled-By	: Peter Zijlstra <a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org>
> > 
> > Should be fixed in the latest -git
> 
> Thanks for the update.
> 
> Does any specific commit fix it or just a series of recent commits?

commit 49048622eae698e5c4ae61f7e71200f265ccc529
Author: Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
Date:   Fri Sep 5 18:12:23 2008 +0200

    sched: fix process time monotonicity

    Spencer reported a problem where utime and stime were going negative despite
    the fixes in commit b27f03d4bdc145a09fb7b0c0e004b29f1ee555fa. The suspected
    reason for the problem is that signal_struct maintains it's own utime and
    stime (of exited tasks), these are not updated using the new task_utime()
    routine, hence sig->utime can go backwards and cause the same problem
    to occur (sig->utime, adds tsk->utime and not task_utime()). This patch
    fixes the problem

commit 56c7426b3951e4f35a71d695f1c982989399d6fd
Author: Peter Zijlstra <a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org>
Date:   Mon Sep 1 16:44:23 2008 +0200

    sched_clock: fix NOHZ interaction

    If HLT stops the TSC, we'll fail to account idle time, thereby inflating the
    actual process times. Fix this by re-calibrating the clock against GTOD when
    leaving nohz mode.




WARNING: multiple messages have this Message-ID (diff)
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Lukas Hejtmanek <xhejtman@ics.muni.cz>
Subject: Re: [Bug #11209] 2.6.27-rc1 process time accounting
Date: Mon, 08 Sep 2008 08:40:46 +0200	[thread overview]
Message-ID: <1220856046.8687.106.camel@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <200809080002.09381.rjw@sisk.pl>

On Mon, 2008-09-08 at 00:02 +0200, Rafael J. Wysocki wrote:
> On Sunday, 7 of September 2008, Peter Zijlstra wrote:
> > On Sat, 2008-09-06 at 23:30 +0200, Rafael J. Wysocki wrote:
> > > This message has been generated automatically as a part of a report
> > > of recent regressions.
> > > 
> > > The following bug entry is on the current list of known regressions
> > > from 2.6.26.  Please verify if it still should be listed and let me know
> > > (either way).
> > > 
> > > 
> > > Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=11209
> > > Subject		: 2.6.27-rc1 process time accounting
> > > Submitter	: Lukas Hejtmanek <xhejtman@ics.muni.cz>
> > > Date		: 2008-07-31 10:43 (38 days old)
> > > References	: http://marc.info/?l=linux-kernel&m=121750102917490&w=4
> > > Handled-By	: Peter Zijlstra <a.p.zijlstra@chello.nl>
> > 
> > Should be fixed in the latest -git
> 
> Thanks for the update.
> 
> Does any specific commit fix it or just a series of recent commits?

commit 49048622eae698e5c4ae61f7e71200f265ccc529
Author: Balbir Singh <balbir@linux.vnet.ibm.com>
Date:   Fri Sep 5 18:12:23 2008 +0200

    sched: fix process time monotonicity

    Spencer reported a problem where utime and stime were going negative despite
    the fixes in commit b27f03d4bdc145a09fb7b0c0e004b29f1ee555fa. The suspected
    reason for the problem is that signal_struct maintains it's own utime and
    stime (of exited tasks), these are not updated using the new task_utime()
    routine, hence sig->utime can go backwards and cause the same problem
    to occur (sig->utime, adds tsk->utime and not task_utime()). This patch
    fixes the problem

commit 56c7426b3951e4f35a71d695f1c982989399d6fd
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date:   Mon Sep 1 16:44:23 2008 +0200

    sched_clock: fix NOHZ interaction

    If HLT stops the TSC, we'll fail to account idle time, thereby inflating the
    actual process times. Fix this by re-calibrating the clock against GTOD when
    leaving nohz mode.





  parent reply	other threads:[~2008-09-08  6:40 UTC|newest]

Thread overview: 125+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-06 21:24 2.6.27-rc5-git8: Reported regressions from 2.6.26 Rafael J. Wysocki
2008-09-06 21:24 ` Rafael J. Wysocki
2008-09-06 21:25 ` [Bug #11207] VolanoMark regression with 2.6.27-rc1 Rafael J. Wysocki
2008-09-06 21:25   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11210] libata badness Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11209] 2.6.27-rc1 process time accounting Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-07  9:04   ` Peter Zijlstra
2008-09-07  9:04     ` Peter Zijlstra
     [not found]     ` <1220778273.8687.20.camel-ndre7Fmf5hadTX5a5knrm8zTDFooKrT+cvkQGrU6aU0@public.gmane.org>
2008-09-07 22:02       ` Rafael J. Wysocki
2008-09-07 22:02         ` Rafael J. Wysocki
     [not found]         ` <200809080002.09381.rjw-KKrjLPT3xs0@public.gmane.org>
2008-09-08  6:40           ` Peter Zijlstra [this message]
2008-09-08  6:40             ` Peter Zijlstra
2008-09-06 21:30 ` [Bug #11230] Kconfig no longer outputs a .config with freshly updated defconfigs Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11224] Only three cores found on quad-core machine Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11215] INFO: possible recursive locking detected ps2_command Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11237] corrupt PMD after resume Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11220] Screen stays black " Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11276] build error: CONFIG_OPTIMIZE_INLINING=y causes gcc 4.2 to do stupid things Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11264] Invalid op opcode in kernel/workqueue Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11271] BUG: fealnx in 2.6.27-rc1 Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11272] BUG: parport_serial in 2.6.27-rc1 for NetMos Technology PCI 9835 Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11334] myri10ge: use ioremap_wc: compilation failure on ARM Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-07 15:59   ` Lennert Buytenhek
2008-09-07 15:59     ` Lennert Buytenhek
     [not found]     ` <20080907155952.GA24110-mfnYTeDhw6uOVk/H6u/4e9i2O/JbrIOy@public.gmane.org>
2008-09-08  8:52       ` Martin Michlmayr
2008-09-08  8:52         ` Martin Michlmayr
2008-09-10 12:09   ` Lennert Buytenhek
2008-09-10 12:09     ` Lennert Buytenhek
2008-09-06 21:30 ` [Bug #11308] tbench regression on each kernel release from 2.6.22 -&gt; 2.6.28 Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11335] 2.6.27-rc2-git5 BUG: unable to handle kernel paging request Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11336] 2.6.27-rc2:stall while mounting root fs Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11340] LTP overnight run resulted in unusable box Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11343] SATA Cold Boot Problems with 2.6.27-rc[23] on nVidia 680i Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11357] Can not boot up with zd1211rw USB-Wlan Stick Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11380] lockdep warning: cpu_add_remove_lock at:cpu_maps_update_begin+0x14/0x16 Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11382] e1000e: 2.6.27-rc1 corrupts EEPROM/NVM Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11358] net: forcedeth call restore mac addr in nv_shutdown path Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11404] BUG: in 2.6.23-rc3-git7 in do_cciss_intr Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11398] hda_intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11403] 2.6.27-rc2 USB suspend regression Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11418] Many soft lockups Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11439] [2.6.27-rc4-git4] compilation warnings Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-08  4:44   ` Greg KH
2008-09-08  4:44     ` Greg KH
2008-09-09  5:01     ` Jesse Barnes
2008-09-06 21:30 ` [Bug #11407] suspend: unable to handle kernel paging request Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11459] kernel crash after wifi connection established Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11465] Linux-2.6.27-rc5, drm errors in log Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11442] btusb hibernation/suspend breakage in current -git Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11463] sshd hangs on close Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11500] /proc/net bug related to selinux Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11476] failure to associate after resume from suspend to ram Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11485] 2.6.27-rc xen pvops regression? Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11471] GPE storm detected, kernel freezes Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11501] Failed to open destination file: Permission deniedihex2fw Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11505] oltp ~10% regression with 2.6.27-rc5 on stoakley machine Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11507] usb: sometimes dead keyboard after boot Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-12 10:09   ` Frans Pop
2008-09-12 10:09     ` Frans Pop
2008-09-06 21:30 ` [Bug #11512] sort-of regression due to "kconfig: speed up all*config + randconfig" Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11511] HPT374 detection crash with 74811f355f4f69a187fa74892dcf2a684b84ce99 Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
2008-09-06 21:30 ` [Bug #11506] oops during unmount - ext3? (2.6.27-rc5) Rafael J. Wysocki
2008-09-06 21:30   ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2008-11-09 19:40 2.6.28-rc3-git6: Reported regressions 2.6.26 -> 2.6.27 Rafael J. Wysocki
2008-11-09 19:43 ` [Bug #11209] 2.6.27-rc1 process time accounting Rafael J. Wysocki
2008-11-09 19:43   ` Rafael J. Wysocki
2008-11-02 16:47 2.6.28-rc2-git7: Reported regressions 2.6.26 -> 2.6.27 Rafael J. Wysocki
2008-11-02 16:49 ` [Bug #11209] 2.6.27-rc1 process time accounting Rafael J. Wysocki
2008-11-02 16:49   ` Rafael J. Wysocki
2008-10-25 21:04 2.6.28-rc1-git1: Reported regressions 2.6.26 -> 2.6.27 Rafael J. Wysocki
2008-10-25 21:07 ` [Bug #11209] 2.6.27-rc1 process time accounting Rafael J. Wysocki
2008-10-25 21:07   ` Rafael J. Wysocki
2008-10-04 17:28 2.6.27-rc8-git7: Reported regressions from 2.6.26 Rafael J. Wysocki
2008-10-04 17:32 ` [Bug #11209] 2.6.27-rc1 process time accounting Rafael J. Wysocki
2008-10-04 17:32   ` Rafael J. Wysocki
2008-08-30 19:46 2.6.27-rc5-git2: Reported regressions from 2.6.26 Rafael J. Wysocki
2008-08-30 19:50 ` [Bug #11209] 2.6.27-rc1 process time accounting Rafael J. Wysocki
2008-08-30 19:50   ` Rafael J. Wysocki
2008-08-23 18:07 2.6.27-rc4-git1: Reported regressions from 2.6.26 Rafael J. Wysocki
2008-08-23 18:10 ` [Bug #11209] 2.6.27-rc1 process time accounting Rafael J. Wysocki
2008-08-23 18:10   ` Rafael J. Wysocki
2008-08-16 19:00 2.6.27-rc3-git3: Reported regressions from 2.6.26 Rafael J. Wysocki
2008-08-16 19:02 ` [Bug #11209] 2.6.27-rc1 process time accounting Rafael J. Wysocki
2008-08-16 19:02   ` Rafael J. Wysocki
2008-08-17  8:07   ` Peter Zijlstra
2008-08-17  8:07     ` Peter Zijlstra
2008-08-17 12:19     ` Rafael J. Wysocki
2008-08-17 12:19       ` Rafael J. Wysocki
2008-08-09 22:40 2.6.27-rc2-git4: Reported regressions from 2.6.26 Rafael J. Wysocki
2008-08-09 22:43 ` [Bug #11209] 2.6.27-rc1 process time accounting Rafael J. Wysocki
2008-08-09 22:43   ` Rafael J. Wysocki
2008-08-02 17:59 2.6.27-rc1-git4: Reported regressions from 2.6.26 Rafael J. Wysocki
2008-08-02 18:04 ` [Bug #11209] 2.6.27-rc1 process time accounting Rafael J. Wysocki
2008-08-02 18:04   ` Rafael J. Wysocki

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=1220856046.8687.106.camel@twins.programming.kicks-ass.net \
    --to=a.p.zijlstra-/nlkjasks4vmr6xm/wnwpw@public.gmane.org \
    --cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rjw-KKrjLPT3xs0@public.gmane.org \
    --cc=xhejtman-8qz54MUs51PtwjQa/ONI9g@public.gmane.org \
    /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.