From owner-freebsd-arm@FreeBSD.ORG Thu Jan 31 16:19:27 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 854D9FF8; Thu, 31 Jan 2013 16:19:27 +0000 (UTC) (envelope-from wynkoop@wynn.com) Received: from mail.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 34A21116; Thu, 31 Jan 2013 16:19:26 +0000 (UTC) Received: from ivory.lan (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by mail.wynn.com (8.14.3/8.12.6) with ESMTP id r0VGJPYD006022; Thu, 31 Jan 2013 11:19:26 -0500 (EST) (envelope-from wynkoop@wynn.com) Date: Thu, 31 Jan 2013 11:19:25 -0500 From: Brett Wynkoop To: Ian Lepore Subject: Re: disk wait mystery Message-ID: <20130131111925.60433329@ivory.lan> In-Reply-To: <1359647741.93359.335.camel@revolution.hippie.lan> References: <20130130001849.7669e033@ivory.lan> <20130130053729.0c9e018f@ivory.lan> <20130130110529.5c5df516@ivory.lan> <8EF6F73D-05AF-4E04-968B-84F35CD0FD85@ugh.net.au> <20130131142658.GC74563@in-addr.com> <1359647741.93359.335.camel@revolution.hippie.lan> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org, Ronald Klop X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2013 16:19:27 -0000 On Thu, 31 Jan 2013 08:55:41 -0700 Ian Lepore wrote: > >From a glance at the code, I think this state would be reported for > >any > userland thread that's sleeping in a driver that called one of the > sleep(9) family functions without the PCATCH flag which allows signals > to interrput the sleep so they can be delivered to userland. For > kernel threads I think the PCATCH part is moot and it's just a thread > in a "short" sleep (for some definition of short). > Greeting- Reading this makes all clear to a simple sys admin like me. So I now think the man page should read DEVICE WAIT instead of DISK WAIT.......who know all these years diskwait in ps was not diskwait. I can go back to bed now. I already learned something today! -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 718-717-5435 "The strongest reason for the people to retain the right to keep and bear arms is, as a last resort, to protect themselves against tyranny in government" - Thomas Jefferson.