From: Peter Zijlstra Date: Thu, 20 May 2010 14:21:55 +0000 (+0200) Subject: perf: Fix wakeup storm for RO mmap()s X-Git-Tag: v2.6.35-rc1~30^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adb8e118f288dc4c569ac9a89010b81a4745fbf0;p=pandora-kernel.git perf: Fix wakeup storm for RO mmap()s RO mmap()s don't update the tail pointer, so comparing against it for determining the written data size doesn't really do any good. Keep track of when we last did a wakeup, and compare against that. Signed-off-by: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker Cc: Paul Mackerras Cc: Mike Galbraith Cc: Steven Rostedt LKML-Reference: <20100521090710.684479310@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed