All of lore.kernel.org
 help / color / mirror / Atom feed
* contention on profile_lock
@ 2004-11-02 19:52 Jesse Barnes
  2004-11-02 20:02 ` Jack Steiner
  0 siblings, 1 reply; 13+ messages in thread
From: Jesse Barnes @ 2004-11-02 19:52 UTC (permalink / raw)
  To: wli, linux-kernel; +Cc: steiner, edwardsg

Hmm, the last patch you sent me worked ok, so I'm not sure why we're seeing 
problems with profiling now.  There seems to be very heavy contention on 
profile_lock since profile_hook is called unconditionally every timer tick.  
Should it only be called if profiling is enabled?  Is there a way we can 
check the notifier list to see if it's empty before calling it or something?  
The only user appears to be oprofile timer based profiling, so in the general 
case we're taking the profile_lock and not doing anything.

Thanks,
Jesse

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-11-04 23:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-02 19:52 contention on profile_lock Jesse Barnes
2004-11-02 20:02 ` Jack Steiner
2004-11-02 21:42   ` Jesse Barnes
2004-11-04 19:56     ` Jesse Barnes
2004-11-04 20:12       ` William Lee Irwin III
2004-11-04 20:49         ` Jesse Barnes
2004-11-04 21:51           ` John Levon
2004-11-04 22:08             ` Jesse Barnes
2004-11-04 21:55           ` Jesse Barnes
2004-11-04 22:16             ` Dipankar Sarma
2004-11-04 22:21             ` John Levon
2004-11-04 22:27               ` Jesse Barnes
2004-11-04 22:52                 ` John Levon

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.