commit | 32975a4f114be52286f9a5bf6c230dbb8c0e1903 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Sat Mar 06 19:49:19 2010 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Mar 10 13:22:25 2010 +0100 |
tree | a5259dd7fb4cab05c837bace8a735a439bafc904 | |
parent | 3f6da3905398826d85731247e7fbcf53400c18bd [diff] |
perf: Optimize perf_disable Currently we always call hw_perf_disable(), even if its already disabled, this seems superflous, esp. since it cannot be made NMI safe (see further patches). Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: paulus@samba.org Cc: eranian@google.com Cc: robert.richter@amd.com Cc: fweisbec@gmail.com Cc: Arnaldo Carvalho de Melo <acme@infradead.org> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>