commit | 272d30be622c9c6cbd514b1211ff359292001baa | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Fri Jan 22 16:32:17 2010 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jan 29 09:01:41 2010 +0100 |
tree | 7c792dfbac3a18187c58ba292ecb3af819ef330a | |
parent | 63b146490befc027a7e0923e333269e68b20d380 [diff] |
perf_event: x86: Optimize constraint weight computation Add a weight member to the constraint structure and avoid recomputing the weight at runtime. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> LKML-Reference: <20100122155535.963944926@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>