On Fri, Sep 12, 2014 at 01:18:26PM +0200, Jiri Olsa wrote: > Currently we return POLLHUP in event polling if the monitored > process is done, but we didn't consider possible children, > that might be still running and producing data. > > Before returning POLLHUP making sure that > 1) the monitored task has exited and that > 2) we don't have any children to monitor > > Also adding parent wakeup when the child event is gone. > > Suggested-by: Peter Zijlstra <[email protected]> > Cc: Arnaldo Carvalho de Melo <[email protected]> > Cc: Frederic Weisbecker <[email protected]> > Cc: Ingo Molnar <[email protected]> > Cc: Paul Mackerras <[email protected]> > Cc: Peter Zijlstra <[email protected]> > Cc: Stephane Eranian <[email protected]> > Signed-off-by: Jiri Olsa <[email protected]> > ---
Thanks Jiri (for all three patches)! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

