Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752109AbdHDKU2 (ORCPT ); Fri, 4 Aug 2017 06:20:28 -0400 Received: from merlin.infradead.org ([205.233.59.134]:48380 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751306AbdHDKU0 (ORCPT ); Fri, 4 Aug 2017 06:20:26 -0400 Date: Fri, 4 Aug 2017 12:20:18 +0200 From: Peter Zijlstra To: "Naveen N. Rao" Cc: Jiri Olsa , Arnaldo Carvalho de Melo , Ingo Molnar , Vince Weaver , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] kernel/events: Add option to notify through signals on wakeup Message-ID: <20170804102018.u2zvnekjpjqdag7c@hirez.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 358 Lines: 7 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?