lkml.org 
[lkml]   [2009]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/6] RFC perf_counter: singleshot support

* Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

> OK, so I just remembered the sigio thing mentioned by Paul a while
> back.
>
> and this should do I suppose...

> @@ -1561,6 +1578,7 @@ void perf_counter_wakeup(struct perf_cou
> rcu_read_unlock();
>
> wake_up_all(&counter->waitq);
> + kill_fasync(&counter->fasync, SIGIO, POLL_IN);

ah, yes.

Do we even need the explicit signo method this way? The SIGIO target
is configurable via fcntl(F_SETSIG), right?

Ingo


\
 
 \ /
  Last update: 2009-04-02 20:13    [W:0.093 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site