login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
18
Re: Fix guest time accounting going faster than user time accounting
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Laurent Vivier
Subject:
Re: Fix guest time accounting going faster than user time accounting
Date: Thursday, October 18, 2007 - 12:13 pm
Acked-by: Laurent Vivier <Laurent.Vivier@bull.net> Christian Borntraeger a écrit :
quoted text
> Seems I overlooked this type while reviewing Laurents patch. > cputime_add already adds, dont do it twice. > > Avi. This should go to Linus before 2.6.24. > > Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> > > --- > fs/proc/array.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: linux-2.6.23/fs/proc/array.c > =================================================================== > --- linux-2.6.23.orig/fs/proc/array.c > +++ linux-2.6.23/fs/proc/array.c > @@ -446,7 +446,7 @@ static int do_task_stat(struct task_stru > maj_flt += sig->maj_flt; > utime = cputime_add(utime, sig->utime); > stime = cputime_add(stime, sig->stime); > - gtime += cputime_add(gtime, sig->gtime); > + gtime = cputime_add(gtime, sig->gtime); > } > > sid = signal_session(sig); >
-- ----------------
Laurent.Vivier@bull.net
----------------- "Given enough eyeballs, all bugs are shallow" E. S. Raymond -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Fix guest time accounting going faster than user time acco ...
, Christian Borntraeger
, (Thu Oct 18, 10:41 am)
Re: Fix guest time accounting going faster than user time ...
, Laurent Vivier
, (Thu Oct 18, 12:13 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Re: [PATCH 1/1] staging: hv: Fix race condition on IC channel initialization (modi...
Brian Swetland
Re: Attempted summary of suspend-blockers LKML thread
Sam Ravnborg
[PATCH 05/11] x86: add X86_64 dependency to x86_64 specific symbols in Kconfig.x86...
Christoph Lameter
Re: [PATCH 02/40] mm: slab allocation fairness
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Paolo Ciarrocchi
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
Sverre Rabbelier
Re: [GSoC] What is status of Git's Google Summer of Code 2008 projects?
linux-netdev
:
Badalian Vyacheslav
Re: tc filter flow hash question
Andi Kleen
Re: RFC: Nagle latency tuning
Jarek Poplawski
Re: tc filter flow hash question
David Miller
Re: [RFC 0/5] generic rx recycling
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
git-commits-head
:
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
e1000e: Expose MDI-X status via ethtool change
Linux Kernel Mailing List
NFS: Store pages from an NFS inode into a local cache
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
openbsd-misc
:
Theo de Raadt
Re: RES: OpenBSD on IBM System X3550 7879
Bret S. Lambert
Re: any web management gui for pf ?
Rob Shepherd
x86 hardware for router system
Leif Blixt
Re: Force passwordcheck in login.conf
Nick Holland
Re: Install OpenBSD from USB ?
Colocation donated by:
Syndicate