login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
29
Re: [patch 4/4] taskstats: Export "cdata_acct" with taskstats
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Oleg Nesterov
Subject:
Re: [patch 4/4] taskstats: Export "cdata_acct" with taskstats
Date: Monday, November 29, 2010 - 11:08 am
On 11/29, Michael Holzheu wrote:
quoted text
> > Hello Oleg, > > On Mon, 2010-11-29 at 17:43 +0100, Oleg Nesterov wrote: > > > I just did it like it is done in e.g. fs/proc/base.c (proc_pid_limits). > > > Can we remove the locking there, too? > > > > We can certainly remove more siglock's which were previously > > needed to access ->signal. > > > > This particular one is just wrong. We need task_lock(group_leader) > > to read signal->rlim atomically. However, it is not trivial to do > > this correctly. Probably we should ignore this minor problem. > > > > In any case, this ->siglock buys nothing today. > > But at least to get the two values cutime and cstime consistent we need > the siglock? There could be a parallel update for > tsk->signal->cutime/cstime, while the taskstats are created, no?
I guess you mean 4/4 you sent. Probably you are right, I'll try to look tomorrow. Oleg. --
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:
[patch 0/4] taskstats: Improve cumulative time accounting
, Michael Holzheu
, (Fri Nov 19, 1:11 pm)
[patch 1/4] taskstats: Introduce "struct cdata"
, Michael Holzheu
, (Fri Nov 19, 1:11 pm)
[patch 2/4] taskstats: Introduce __account_cdata() function
, Michael Holzheu
, (Fri Nov 19, 1:11 pm)
[patch 3/4] taskstats: Introduce cdata_acct for complete c ...
, Michael Holzheu
, (Fri Nov 19, 1:11 pm)
[patch 4/4] taskstats: Export "cdata_acct" with taskstats
, Michael Holzheu
, (Fri Nov 19, 1:11 pm)
Re: [patch 0/4] taskstats: Improve cumulative time accounting
, Peter Zijlstra
, (Fri Nov 19, 1:19 pm)
Re: [patch 0/4] taskstats: Improve cumulative time accounting
, Oleg Nesterov
, (Sat Nov 20, 8:17 am)
Re: [patch 0/4] taskstats: Improve cumulative time accounting
, Balbir Singh
, (Mon Nov 22, 12:21 am)
Re: [patch 0/4] taskstats: Improve cumulative time accounting
, Michael Holzheu
, (Mon Nov 22, 4:03 am)
Re: [patch 0/4] taskstats: Improve cumulative time accounting
, Michael Holzheu
, (Mon Nov 22, 5:47 am)
Re: [patch 0/4] taskstats: Improve cumulative time accounting
, Valdis.Kletnieks
, (Mon Nov 22, 11:11 am)
Re: [patch 3/4] taskstats: Introduce cdata_acct for comple ...
, Oleg Nesterov
, (Tue Nov 23, 9:59 am)
Re: [patch 3/4] taskstats: Introduce cdata_acct for comple ...
, Michael Holzheu
, (Thu Nov 25, 2:40 am)
Re: [patch 1/4] taskstats: Introduce "struct cdata"
, Balbir Singh
, (Thu Nov 25, 5:29 am)
Re: [patch 3/4] taskstats: Introduce cdata_acct for comple ...
, Oleg Nesterov
, (Thu Nov 25, 6:21 am)
Re: [patch 4/4] taskstats: Export "cdata_acct" with taskstats
, Oleg Nesterov
, (Thu Nov 25, 6:26 am)
Re: [patch 1/4] taskstats: Introduce "struct cdata"
, Oleg Nesterov
, (Thu Nov 25, 7:23 am)
Re: [patch 1/4] taskstats: Introduce "struct cdata"
, Michael Holzheu
, (Thu Nov 25, 9:38 am)
Re: [patch 4/4] taskstats: Export "cdata_acct" with taskstats
, Balbir Singh
, (Thu Nov 25, 9:57 am)
Re: [patch 4/4] taskstats: Export "cdata_acct" with taskstats
, Michael Holzheu
, (Thu Nov 25, 10:21 am)
Re: [patch 3/4] taskstats: Introduce cdata_acct for comple ...
, Michael Holzheu
, (Thu Nov 25, 10:45 am)
Re: [patch 4/4] taskstats: Export "cdata_acct" with taskstats
, Oleg Nesterov
, (Mon Nov 29, 9:43 am)
Re: [patch 4/4] taskstats: Export "cdata_acct" with taskstats
, Michael Holzheu
, (Mon Nov 29, 9:58 am)
Re: [patch 4/4] taskstats: Export "cdata_acct" with taskstats
, Oleg Nesterov
, (Mon Nov 29, 11:08 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate