public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Bartłomiej Zimoń" <uzi18@o2.pl>
To: linux-kernel@vger.kernel.org
Cc: awalls@radix.net, linux-pm@lists.linux-foundation.org,
	"Anders Eriksson" <aeriksson@fastmail.fm>,
	danborkmann@googlemail.com
Subject: Re: [suspend/resume] Re: userspace notification from module
Date: Tue, 05 Jan 2010 22:02:15 +0100	[thread overview]
Message-ID: <7e89c5d.77f82021.4b43a8d7.127e1@o2.pl> (raw)
In-Reply-To: <20100105090706.751D233C4B0@tippex.mynet.homeunix.org>

Dnia 5 stycznia 2010 10:07 	Anders Eriksson <aeriksson@fastmail.fm> napisał(a):
> 
> rjw@sisk.pl said:
> >> > I don't see a problem with this in principle, although I don't think signals
> >> > are very suitable for this particular purpose, because you need two-way
> >> > communication between the power manager and the processes it's going to
> >> > notify (because it has to wait for the processes to finish their preparations
> >> > and to tell it that they are ready). 
> 
> Wouldn't there need to be dependecy tracking for the userspace processes? A 
> process couldn't signal "done" until it know there's no more work to do, which 
> requires all other processes to finish up first.
> 

Not all processes will need pm notification.

Just in case, could this "power manager" be provided as userspace
driver for kernel (for example compiled as UIO)?

Best regards.
Bartłomiej Zimoń
PLD Linux, Kadu Team, FreeRunner user
http://kadu-im.blogspot.com/

_______________________________________________
linux-pm mailing list
linux-pm@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

  parent reply	other threads:[~2010-01-05 21:02 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <686edb2c.6263643a.4b3f4a3b.b60b3@o2.pl>
     [not found] ` <201001022201.04281.rjw@sisk.pl>
     [not found]   ` <7cf4f51f.5fc2a5cd.4b3fc3ad.c849c@o2.pl>
2010-01-02 23:29     ` [suspend/resume] Re: userspace notification from module Rafael J. Wysocki
2010-01-03  1:03       ` Bartłomiej Zimoń
2010-01-03  9:30         ` Daniel Borkmann
2010-01-03 21:29         ` Rafael J. Wysocki
     [not found]         ` <4B4063AB.7080401@gmail.com>
2010-01-03 10:06           ` Daniel Borkmann
     [not found]           ` <4B406C14.2070907@gmail.com>
2010-01-03 11:01             ` Bartłomiej Zimoń
2010-01-03 21:49               ` Rafael J. Wysocki
     [not found]               ` <201001032249.11510.rjw@sisk.pl>
2010-01-04 13:38                 ` Stefan Seyfried
2010-01-03 21:33           ` Rafael J. Wysocki
     [not found]         ` <201001032229.53221.rjw@sisk.pl>
2010-01-03 22:53           ` Bartłomiej Zimoń
2010-01-03 23:30             ` Rafael J. Wysocki
     [not found]             ` <201001040030.01256.rjw@sisk.pl>
2010-01-03 23:35               ` Bartłomiej Zimoń
     [not found]               ` <54ac764e.502c1a33.4b4129c3.9dc1b@o2.pl>
2010-01-03 23:45                 ` Rafael J. Wysocki
     [not found]                 ` <201001040045.39517.rjw@sisk.pl>
2010-01-04  0:51                   ` Bartłomiej Zimoń
2010-01-04 12:46                   ` Daniel Borkmann
     [not found]                   ` <a522f3c.3bab16d1.4b413b9c.ec43@o2.pl>
2010-01-04 19:43                     ` Rafael J. Wysocki
     [not found]                     ` <201001042043.27037.rjw@sisk.pl>
2010-01-05  9:07                       ` Anders Eriksson
     [not found]                       ` <20100105090706.751D233C4B0@tippex.mynet.homeunix.org>
2010-01-05 21:02                         ` Bartłomiej Zimoń [this message]
2010-01-05 21:23                           ` Rafael J. Wysocki
     [not found]                           ` <201001052223.21964.rjw@sisk.pl>
2010-01-05 22:12                             ` Bartłomiej Zimoń
     [not found]                             ` <16a1b165.2fdc37c6.4b43b943.c6733@o2.pl>
2010-01-05 23:03                               ` Rafael J. Wysocki
     [not found]                               ` <201001060003.23419.rjw@sisk.pl>
2010-01-05 23:37                                 ` Bartłomiej Zimoń
2010-01-06 14:35                                   ` Anders Eriksson
     [not found]                                   ` <20100106143534.A7EEA33C5F5@tippex.mynet.homeunix.org>
2010-01-06 20:37                                     ` [suspend/resume] Re: userspace notific ation " Bartłomiej Zimoń
     [not found]                                     ` <5c33d92a.63a2de8c.4b44f47a.8762@o2.pl>
2010-01-06 20:49                                       ` Roland Dreier
     [not found]                                       ` <adatyuzt0vg.fsf@roland-alpha.cisco.com>
2010-01-06 20:56                                         ` Roland Dreier
2010-01-15 20:02                                     ` [suspend/resume] Re: userspace notification " Pavel Machek
2010-01-05 21:26                         ` Stefan Seyfried
     [not found]                         ` <20100105222657.27218c4c@strolchi.home.s3e.de>
2010-01-05 22:22                           ` Bartłomiej Zimoń
2010-01-05 23:05                             ` Rafael J. Wysocki
     [not found]                             ` <201001060005.17246.rjw@sisk.pl>
2010-01-06  0:43                               ` Bartłomiej Zimoń
2010-01-06 10:10                             ` Stefan Seyfried
     [not found]                   ` <4B41E318.4050809@gmail.com>
2010-01-04 19:45                     ` Rafael J. Wysocki
2010-01-03 17:20       ` Bartłomiej Zimoń
     [not found]       ` <ff72e3e.3b5092ec.4b40d1ec.54407@o2.pl>
2010-01-03 21:50         ` Rafael J. Wysocki
2010-01-03 23:17 Bartłomiej Zimoń
  -- strict thread matches above, loose matches on Subject: below --
2010-01-06  1:05 Bartłomiej Zimoń
     [not found] <1df13dac.5ba05e5c.4b43e1e2.120e@o2.pl>
2010-01-06 22:48 ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7e89c5d.77f82021.4b43a8d7.127e1@o2.pl \
    --to=uzi18@o2.pl \
    --cc=aeriksson@fastmail.fm \
    --cc=awalls@radix.net \
    --cc=danborkmann@googlemail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox