login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
July
»
11
Re: [PATCH] Optimize struct task_delay_info
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andi Kleen <andi@...>
To: Zhang, Yanmin <yanmin_zhang@...>
Cc: <nagar@...>, LKML <linux-kernel@...>
Subject:
Re: [PATCH] Optimize struct task_delay_info
Date: Wednesday, July 11, 2007 - 8:27 am
"Zhang, Yanmin" <yanmin_zhang@linux.intel.com> writes:
quoted text
> replace them; > 2) Delete lock. The change to the protected data has no nested cases. > In addition, the result is for performance data collection, so it’s > unnecessary to add such lock.
Not sure that's a good idea. People expect their performance counts to be accurate too. You could possibly use atomics though, but when there are multiple counters updated the spinlock will be likely faster. -Andi -
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] Optimize struct task_delay_info
, Zhang, Yanmin
, (Wed Jul 11, 3:13 am)
Re: [PATCH] Optimize struct task_delay_info
, Balbir Singh
, (Mon Jul 23, 1:14 am)
Re: [PATCH] Optimize struct task_delay_info
, Balbir Singh
, (Wed Jul 11, 7:46 am)
Re: [PATCH] Optimize struct task_delay_info
, Zhang, Yanmin
, (Wed Jul 18, 12:30 am)
Re: [PATCH] Optimize struct task_delay_info
, Zhang, Yanmin
, (Sun Jul 22, 9:08 pm)
Re: [PATCH] Optimize struct task_delay_info
, Andi Kleen
, (Wed Jul 11, 8:27 am)
Re: [PATCH] Optimize struct task_delay_info
, Zhang, Yanmin
, (Thu Jul 12, 4:37 am)
Re: [PATCH] Optimize struct task_delay_info
, Frank Ch. Eigler
, (Thu Jul 12, 2:21 pm)
Re: [PATCH] Optimize struct task_delay_info
, Zhang, Yanmin
, (Thu Jul 12, 9:52 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Andy Whitcroft
clam
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Trent Piepho
[PATCH] [POWERPC] Improve (in|out)_beXX() asm code
git
:
linux-netdev
:
David Miller
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
7 users
and
881 guests
online.
Online users
filebankruptcy
selfhelpspirit
naturalskinctgn
thechpstyahihs
wangawecki
manifestingabu
rosehazzardvct
Syndicate