Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1260545

Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread freezer

From Oliver Neukum <oneukum@suse.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread freezer
Date 2015-11-02 12:10 +0100
Message-ID <qql9T-4AW-11@gated-at.bofh.it> (permalink)
References <qpoMx-22G-11@gated-at.bofh.it> <qpuoW-5yn-5@gated-at.bofh.it> <qpzyh-rU-3@gated-at.bofh.it> <qqcSZ-7Vo-5@gated-at.bofh.it> <qqkQy-4f7-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2015-11-02 at 11:45 +0100, Jiri Kosina wrote:
> > For example, if user space does a "read" or "write" on a character
> device
> > which is runtime-suspended at that point, the driver may want to
> resume the
> > device temporarily, carry out the operation and suspend it again,
> but that
> > generally won't work for the system suspend case.
> 
> But why would this even be relevant in this discussion, given that at
> the 
> point we are talking about, the whole userspace has been frozen
> already?

It really doesn't matter whether the thread in question is a kernel
thread or user space. Device detection is even worse.
Kernel threads that do either of these things must stop at
defined points. You can use the freezer or go to another mechanism.
I just doubt they'd act much different in the end.

	Regards
		Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread freezer "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-11-02 03:20 +0100
  Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread  freezer Jiri Kosina <jikos@kernel.org> - 2015-11-02 11:50 +0100
    Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread  freezer Oliver Neukum <oneukum@suse.com> - 2015-11-02 12:10 +0100
    Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread  freezer Alan Stern <stern@rowland.harvard.edu> - 2015-11-02 16:20 +0100
  Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread  freezer Dave Chinner <david@fromorbit.com> - 2015-11-03 01:20 +0100
    Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread freezer "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-11-03 04:40 +0100
    Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread  freezer Jan Kara <jack@suse.cz> - 2015-11-03 10:50 +0100
      Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread freezer "Rafael J. Wysocki" <rafael@kernel.org> - 2015-11-03 22:40 +0100

csiph-web