On Fri, May 06, 2011 at 04:45:55PM +0100, Jean-Yves Migeon wrote:
1 - I shall patch sysmon_pswitch_event and add a callback for sleep
that MD code can register,
Yes (or a list of callbacks, even, maybe not only MD code but various
subsystems might need this later).
Martin
On Sat, May 07, 2011 at 09:03:42PM +0200, Jean-Yves Migeon wrote:
- sysmon_pswitch(9) can still be used to register power switch events,
these events being modeled following a switch functionality e.g. when
a threshold is passed.
Yes. Although I don't know what you mean by thresholds.
-
On Fri, May 06, 2011 at 04:45:55PM +0100, Jean-Yves Migeon wrote:
1 - I shall patch sysmon_pswitch_event and add a callback for sleep
that MD code can register,
2 - or register a pmf(9) event handler during hypervisor attachment,
and just use pmf_event_inject() in the /* XXX */ sleep path
On 07.05.2011 21:45, Jukka Ruohonen wrote:
On Sat, May 07, 2011 at 09:03:42PM +0200, Jean-Yves Migeon wrote:
- sysmon_pswitch(9) can still be used to register power switch events,
these events being modeled following a switch functionality e.g. when
a threshold is passed.
Yes. Although I
On Fri, 6 May 2011 08:57:04 +0300, Jukka Ruohonen wrote:
On Thu, May 05, 2011 at 05:56:43PM +0100, Jean-Yves Migeon wrote:
The duplicity is a known and unfortunate issue. Also many drivers
suffer
from this. My personal opinion is that we should either rework and
cleanup
sysmon's power-related
On Fri, May 06, 2011 at 10:35:30AM +0100, Jean-Yves Migeon wrote:
Yes. However, in the Xen domU case, it is quite unacceptable. Anyone
willing to suspend a domain would launch xm save from dom0. If
powerd(8) is not running, the xm save will wait ~forever for the domU
to signal it's ready
On Fri, 6 May 2011 13:05:35 +0300, Jukka Ruohonen wrote:
Speaking about normal x86 and other architectures, we should pick
good
defaults but not tie things to the kernel. Formulating one-and-true
policy
or power-event state machine is not a goal that can be even
reached. I want
my laptop to
Dear all,
i am experiencing some difficulties regarding the somewhat duplicity
of functionality provided by sysmon_*(9) and pmf(9) APIs, for
everything
that has to deal with power management event.
Disclaimer: this is for suspend/save events, whatever you name them;
each
implementation has
On Thu, May 05, 2011 at 05:56:43PM +0100, Jean-Yves Migeon wrote:
i am experiencing some difficulties regarding the somewhat duplicity of
functionality provided by sysmon_*(9) and pmf(9) APIs, for everything that
has to deal with power management event.
The duplicity is a known and unfortunate