]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] perfmon: fix async exit bug
authorstephane eranian <eranian@googlemail.com>
Wed, 11 Jun 2008 22:24:13 +0000 (15:24 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 11 Jun 2008 22:24:13 +0000 (15:24 -0700)
commit7214627e13c979c5ef9aec791772dead22e13f1d
tree6a0d75c35b278ab8e249cc396ef5bf222b4cd8ec
parentde3b62315da29e17ff7aee416cd26fdea03755c1
[IA64] perfmon: fix async exit bug

Move the cleanup of the async queue to the close callback from the flush
callback. This avoids losing asynchronous overflow notifications when
the file descriptor is shared by multiple processes and one terminates.

Signed-off-by: Stephane Eranian <eranian@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/perfmon.c