AsiaBSDCon DEVSUMMIT patch



Greetings,

We've been talking about the situation with suspend/resume in the
tree. Here's a quick hack to allow one to suspend/resume an
individual device. This may or may not work too well, but it is
offered up for testing and criticism.

http://people.freebsd.org/~imp/devctl.diff

devctl -s ath 0 suspend ath0
devctl -r ath 0 resume ath0

Warner


_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • [RFD] new syscalls: suspend_other/resume_other?
    ... some signals for suspend/resume all threads to implement this. ... a hack, since you take away flexibility from the application. ... EDEADLK We run already a suspend_otherand the calling thread ... Any per thread queued signals are deferred until resume_other ...
    (Linux-Kernel)
  • Re: [RFD] new syscalls: suspend_other/resume_other?
    ... some signals for suspend/resume all threads to implement this. ... a hack, since you take away flexibility from the application. ... syscall manpages here, ... suspend_other - suspends execution of all but the calling thread ...
    (Linux-Kernel)
  • Re: NMI watchdog setup_lapic_nmi_watchdog() problem
    ... understand was is going on with suspend/resume. ... The hack was done because there wasn't an available CPU global enable flag ... for the nmi watchdog. ...
    (Linux-Kernel)
  • Re: AsiaBSDCon DEVSUMMIT patch
    ... On Thu, 27 Mar 2008, M. Warner Losh wrote: ... We've been talking about the situation with suspend/resume in the ... tree. ... Here's a quick hack to allow one to suspend/resume an ...
    (freebsd-arch)
  • Re: AsiaBSDCon DEVSUMMIT patch
    ... : On Thu, 27 Mar 2008, M. Warner Losh wrote: ... :> We've been talking about the situation with suspend/resume in the ... Eg, suspend and resume an individual device, or even tree of devices. ... rediscovery of an older bug, ...
    (freebsd-arch)