From: Peter Zijlstra Date: Tue, 5 May 2009 15:50:22 +0000 (+0200) Subject: perf_counter: uncouple data_head updates from wakeups X-Git-Tag: v2.6.31-rc1~383^2~301 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c66de4a5be7913247bd83d79168f8e4420c9cfbc;p=pandora-kernel.git perf_counter: uncouple data_head updates from wakeups Keep data_head up-to-date irrespective of notifications. This fixes the case where you disable a counter and don't get a notification for the last few pending events, and it also allows polling usage. [ Impact: increase precision of perfcounter mmap-ed fields ] Suggested-by: Corey Ashford Signed-off-by: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: <20090505155436.925084300@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed