Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp284287imu; Thu, 10 Jan 2019 23:47:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN7uY5G/MenuT1qX0qzPghLmSMJEDJV8qLcqs3g7RyNhlbwVrBzoKlUkIRupL4puXYd7guJE X-Received: by 2002:a17:902:bb86:: with SMTP id m6mr13801483pls.315.1547192860962; Thu, 10 Jan 2019 23:47:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547192860; cv=none; d=google.com; s=arc-20160816; b=qi9x9ItIwqW4RMIaQ88Lc3DlPZgyYCh7Esvrk73INg6QxzKW9ArUyf2AqfHOk5jrYc 5tkznn5ReQMPjZeueU1Qzwxwk8a5qgeXiJ/Ap7gc88FSMGwKVtLlIsA46vJTGM2btLkS +J/WyW1vFEsZ8rmcNESPWbzI3HbugCf3mlJ8N/5+ksI8tSM8XwG0/LN1+GidSmUzJD2j JyNCmi/1iCc2zh2kbB5HaVpeioIZ6T3ptueURLDiuZet23hiDzXEP7g6eMxrU1HcAQBM 2VxOigY//p2a70PhbzvTbOtTyMz8yx6O1tVVgVaWOLpRkhAa6mpUojrrdGnMZKEcq4c+ YUSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xvPiHtd934v0ILFa9BQsIsr1mI0vnIq3YaDUJJkG1hw=; b=bIYmwevUqwzNla5v1ZSgk1pICUKxdNJSfr8TO6R+CJOMw4Sr19QubDgiWocJrDvI5K mVF2PB2EquCNrcp/n3JB5KEXDTO17ZP6vH7XgsJyiPHaFntJ45gTe5JMp4uzgXGVdhE0 XAkTUnFQ2947QbCvWPEmgKFr4QpaMC/NI0tyCCqOjeJKcTNBW0Cs/Jh0BCHZ1ZHU5eT7 zmJIX4SqBfjCAXYYwRPGb2YlTAkcPDeFgx1pzwPW691w/Y5/TUWkn1c294nJFZkBRpv9 cHgZOEbvyVf8+xNG44dXyBf+ZFpCUBWRjwtXn0AsJZ1QeaXHfmcnxiICz4dsRXGRrgRY yqRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r75j1oTm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si28056279plz.53.2019.01.10.23.47.25; Thu, 10 Jan 2019 23:47:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r75j1oTm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730202AbfAKG0B (ORCPT + 99 others); Fri, 11 Jan 2019 01:26:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:45736 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728295AbfAKG0B (ORCPT ); Fri, 11 Jan 2019 01:26:01 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8D94E20870; Fri, 11 Jan 2019 06:25:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547187960; bh=BZq7W/mq1WwQjUnjQg0GbBzDfJE6SRMC+B/4SIJJyp0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r75j1oTmrYnrP/ugPnHC8BYZBdC6mDZd+XbCGlhDWXLxdXiBhVQRAUcgqw0iW/wI1 XW9+PvpL2qI1PcVGWovg1MDrQP7TV1aZz5XJGp8QGJnQ//7U0Fv7NraWhNiGLxSP8t i8ojOQ1l/ZeBxTcuGvsfHjIGvEAAvI89ftxfPeHs= Date: Fri, 11 Jan 2019 07:25:56 +0100 From: Greg KH To: Suren Baghdasaryan Cc: tj@kernel.org, lizefan@huawei.com, hannes@cmpxchg.org, axboe@kernel.dk, dennis@kernel.org, dennisszhou@gmail.com, mingo@redhat.com, peterz@infradead.org, akpm@linux-foundation.org, corbet@lwn.net, cgroups@vger.kernel.org, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v2 1/5] fs: kernfs: add poll file operation Message-ID: <20190111062556.GA348@kroah.com> References: <20190110220718.261134-1-surenb@google.com> <20190110220718.261134-2-surenb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190110220718.261134-2-surenb@google.com> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 10, 2019 at 02:07:14PM -0800, Suren Baghdasaryan wrote: > From: Johannes Weiner > > Kernfs has a standardized poll/notification mechanism for waking all > pollers on all fds when a filesystem node changes. To allow polling > for custom events, add a .poll callback that can override the default. > > This is in preparation for pollable cgroup pressure files which have > per-fd trigger configurations. > > Signed-off-by: Johannes Weiner > Signed-off-by: Suren Baghdasaryan Reviewed-by: Greg Kroah-Hartman