From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: Re: [PATCH 0/9] RFC: NVME VFIO mediated device Date: Wed, 20 Mar 2019 08:08:48 -0700 Message-ID: <1553094528.65329.29.camel@acm.org> References: <20190319144116.400-1-mlevitsk@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-7" Content-Transfer-Encoding: 7bit Cc: Fam Zheng , Keith Busch , Sagi Grimberg , kvm@vger.kernel.org, "David S . Miller" , Greg Kroah-Hartman , Liang Cunming , Wolfram Sang , linux-kernel@vger.kernel.org, Kirti Wankhede , Jens Axboe , Alex Williamson , John Ferlan , Mauro Carvalho Chehab , Paolo Bonzini , Liu Changpeng , "Paul E . McKenney" , Amnon Ilan , Christoph Hellwig , Nicolas Ferre To: Maxim Levitsky , linux-nvme@lists.infradead.org Return-path: In-Reply-To: <20190319144116.400-1-mlevitsk@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Tue, 2019-03-19 at 16:41 +-0200, Maxim Levitsky wrote: +AD4 +ACo Polling kernel thread is used. The polling is stopped after a +AD4 predefined timeout (1/2 sec by default). +AD4 Support for all interrupt driven mode is planned, and it shows promising results. Which cgroup will the CPU cycles used for polling be attributed to? Can the polling code be moved into user space such that it becomes easy to identify which process needs most CPU cycles for polling and such that the polling CPU cycles are attributed to the proper cgroup? Thanks, Bart.