From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: Should suspend plug low-level devices? Date: Thu, 17 Mar 2016 11:29:26 +0100 Message-ID: <1458210566.4312.14.camel@suse.com> References: <20160316150053.GG6980@mtj.duckdns.org> <20160316163554.GK6980@mtj.duckdns.org> <1458201028.4312.0.camel@suse.com> <1458202835.4312.3.camel@suse.com> <1458205929.4312.11.camel@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de ([195.135.220.15]:43820 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752731AbcCQKcQ (ORCPT ); Thu, 17 Mar 2016 06:32:16 -0400 In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Jiri Kosina Cc: Peter Chen , "Rafael J. Wysocki" , Tejun Heo , Florian Mickler , Alan Stern , Jan Kara , Linux-pm mailing list On Thu, 2016-03-17 at 11:20 +0100, Jiri Kosina wrote: > On Thu, 17 Mar 2016, Oliver Neukum wrote: > > > Yes, but you are making the assumption that only the kthreads a driver > > started are causing IO to it. That is a tall one. > > > > - logging > > - network > > - device discovery on busses > > - detection of media > > - knfsd > > > > All these things cause IO and I probably forgot some. Defined semantics > > for the threads a driver starts are a good idea, but it leaves out the > > really hard cases. > > So you named only one specific kthread here (knfsd), so let's focus on > that one. Where is that one currently being frozen during suspend? In svc_recv() That concentration, however, is problematic. We can target anything specific, but the point is, do we know what is running? Regards Oliver