Re: [patch] Performance Counters for Linux, v4

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Tuesday, December 16, 2008 - 7:22 am

On Mon, 2008-12-15 at 23:11 +1100, Paul Mackerras wrote:

I think the constraint set should be applied when we add to a group, if
when we add a counter to the group, the result isn't schedulable
anymore, we should fail the group addition - and thereby the counter
creation.

This would leave us with groups that are always schedulable in an atomic
fashion.

possible) (ungrouped counter is a group of one), this means that with
the above addition you'd have the needed control over things.

If you need things to be atomic, create a single group, if you're fine
with RR time-sharing, create multiple.

This seems to leave a hole where multiple monitors collide and create
multiple groups unaware of each-other - could we plug this hole with a
group attribute?



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch] Performance Counters for Linux, v4, Ingo Molnar, (Sun Dec 14, 2:28 pm)
Re: [patch] Performance Counters for Linux, v4, Paul Mackerras, (Mon Dec 15, 4:59 am)
Re: [patch] Performance Counters for Linux, v4, Paul Mackerras, (Mon Dec 15, 5:11 am)
Re: [patch] Performance Counters for Linux, v4, Vince Weaver, (Mon Dec 15, 10:44 am)
Re: [patch] Performance Counters for Linux, v4, Vince Weaver, (Mon Dec 15, 2:07 pm)
Re: [patch] Performance Counters for Linux, v4, Paul Mackerras, (Mon Dec 15, 2:42 pm)
Re: [patch] Performance Counters for Linux, v4, stephane eranian, (Mon Dec 15, 3:03 pm)
Re: [patch] Performance Counters for Linux, v4, Paul Mackerras, (Mon Dec 15, 3:13 pm)
Re: [patch] Performance Counters for Linux, v4, Pavel Machek, (Tue Dec 16, 5:22 am)
Re: [patch] Performance Counters for Linux, v4, Ingo Molnar, (Tue Dec 16, 5:50 am)
Re: [patch] Performance Counters for Linux, v4, Pavel Machek, (Tue Dec 16, 5:57 am)
Re: [patch] Performance Counters for Linux, v4, Ingo Molnar, (Tue Dec 16, 6:03 am)
Re: [patch] Performance Counters for Linux, v4, Arjan van de Ven, (Tue Dec 16, 6:13 am)
Re: [patch] Performance Counters for Linux, v4, Peter Zijlstra, (Tue Dec 16, 7:22 am)
Re: [patch] Performance Counters for Linux, v4, Peter Zijlstra, (Tue Dec 16, 7:42 am)
Re: [patch] Performance Counters for Linux, v4, Peter Zijlstra, (Tue Dec 16, 7:45 am)
Re: [patch] Performance Counters for Linux, v4, Vince Weaver, (Tue Dec 16, 9:55 am)
Re: [patch] Performance Counters for Linux, v4, Vince Weaver, (Tue Dec 16, 10:38 am)
Re: [patch] Performance Counters for Linux, v4, Corey Ashford, (Tue Dec 16, 12:47 pm)
Re: [patch] Performance Counters for Linux, v4, Pavel Machek, (Tue Dec 16, 1:04 pm)
Re: [patch] Performance Counters for Linux, v4, Vince Weaver, (Tue Dec 16, 1:55 pm)
Re: [patch] Performance Counters for Linux, v4, Paul Mackerras, (Tue Dec 16, 2:52 pm)
Re: [patch] Performance Counters for Linux, v4, Paul Mackerras, (Tue Dec 16, 4:06 pm)
Re: [patch] Performance Counters for Linux, v4, Ingo Molnar, (Tue Dec 16, 4:51 pm)
Re: [patch] Performance Counters for Linux, v4, Andi Kleen, (Tue Dec 16, 6:55 pm)
Re: [patch] Performance Counters for Linux, v4, stephane eranian, (Wed Dec 17, 12:34 am)
Re: [patch] Performance Counters for Linux, v4, Corey Ashford, (Fri Jan 16, 11:01 am)
Re: [patch] Performance Counters for Linux, v4, Maynard Johnson, (Fri Jan 16, 3:14 pm)
Re: [patch] Performance Counters for Linux, v4, Ingo Molnar, (Fri Jan 16, 4:11 pm)
Re: [patch] Performance Counters for Linux, v4, Paul Mackerras, (Fri Jan 16, 6:26 pm)
Re: [patch] Performance Counters for Linux, v4, Andi Kleen, (Sat Jan 17, 2:53 am)