Re: [PATCH v2 1/2] kernel/events: Add option to notify through signals on wakeup

From: Peter Zijlstra
Date: Fri Aug 04 2017 - 06:20:32 EST


On Tue, Aug 01, 2017 at 08:14:03PM +0530, Naveen N. Rao wrote:
> Add a new option 'signal_on_wakeup' to request for a signal to be
> delivered on ring buffer wakeup controlled through watermark and
> {wakeup_events, wakeup_watermark}. HUP is signaled on exit.

This fails to tell us why you'd want this. What is wrong with the
existing POLL_IN notification?