From: Kristian Høgsberg Date: Tue, 1 Dec 2009 20:05:01 +0000 (-0500) Subject: perf: Don't free perf_mmap_data until work has been done X-Git-Tag: v2.6.33-rc1~399^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec70ccd806111ba3caf596def91a8580138b12db;p=pandora-kernel.git perf: Don't free perf_mmap_data until work has been done In the CONFIG_PERF_USE_VMALLOC case, perf_mmap_data_free() only schedules the cleanup of the perf_mmap_data struct. In that case we have to wait until the work has been done before we free data. Signed-off-by: Kristian Høgsberg Cc: David S. Miller Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Frederic Weisbecker Cc: LKML-Reference: <1259697901-1747-1-git-send-email-krh@bitplanet.net> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed