From owner-freebsd-mobile Sun Feb 14 23:24:43 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA17421 for freebsd-mobile-outgoing; Sun, 14 Feb 1999 23:24:43 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA17415 for ; Sun, 14 Feb 1999 23:24:41 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 10CIOS-0004TT-00; Mon, 15 Feb 1999 00:24:36 -0700 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.2/8.8.3) with ESMTP id AAA35205; Mon, 15 Feb 1999 00:26:52 -0700 (MST) Message-Id: <199902150726.AAA35205@harmony.village.org> To: Mike Smith Subject: Re: apm & current Cc: Mitsuru IWASAKI , valsho@yahoo.com, mobile@FreeBSD.ORG, nate@mt.sri.com In-reply-to: Your message of "Sun, 14 Feb 1999 20:50:25 PST." <199902150450.UAA07920@dingo.cdrom.com> References: <199902150450.UAA07920@dingo.cdrom.com> Date: Mon, 15 Feb 1999 00:26:52 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199902150450.UAA07920@dingo.cdrom.com> Mike Smith writes: : I'm primarily concerned with I/O that may be pending when the timeout : occurs. I think that the suspend operation should spin waiting for : I/O that's in progress to complete. Yes. I hadn't thought of that. There are some wrinkles that we'll have to deal with. The APM 1.2 spec says we need to continue polling once per second while we're doing a suspend or standby operation to ensure that a critical suspend event doesn't come in. If it does, we have 5 seconds to acknowledge it (which will cause an immediate suspend if I read correctly). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message