From: Peter Zijlstra Date: Fri, 22 Jan 2010 15:32:17 +0000 (+0100) Subject: perf_event: x86: Optimize constraint weight computation X-Git-Tag: v2.6.34-rc1~197^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=272d30be622c9c6cbd514b1211ff359292001baa;p=pandora-kernel.git 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 Cc: Stephane Eranian LKML-Reference: <20100122155535.963944926@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed