From owner-p4-projects@FreeBSD.ORG Sun Feb 17 00:06:58 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 60AA816A419; Sun, 17 Feb 2008 00:06:58 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2641916A421 for ; Sun, 17 Feb 2008 00:06:58 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.77]) by mx1.freebsd.org (Postfix) with ESMTP id F286113C4DB for ; Sun, 17 Feb 2008 00:06:57 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp008-s [10.150.69.71]) by smtpoutm.mac.com (Xserve/smtpout014/MantshX 4.0) with ESMTP id m1H06vqH011089; Sat, 16 Feb 2008 16:06:57 -0800 (PST) Received: from mini-g4.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/asmtp008/MantshX 4.0) with ESMTP id m1H06ucO018503 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 16 Feb 2008 16:06:56 -0800 (PST) Message-Id: From: Marcel Moolenaar To: Rafal Jaworowski In-Reply-To: <47B7793E.2020803@semihalf.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sat, 16 Feb 2008 16:06:56 -0800 References: <200802162141.m1GLfgkj048217@repoman.freebsd.org> <47B75EB3.2020001@semihalf.com> <504560A3-EABB-4896-8B3E-C7FC89F31EFB@mac.com> <47B76A8E.5060607@semihalf.com> <47B76FDA.7070008@semihalf.com> <19353798-6A4C-4360-B08B-51D0D2719B28@mac.com> <47B7793E.2020803@semihalf.com> X-Mailer: Apple Mail (2.919.2) Cc: Perforce Change Reviews Subject: Re: PERFORCE change 135517 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2008 00:06:58 -0000 On Feb 16, 2008, at 4:01 PM, Rafal Jaworowski wrote: >> We always call into U-Boot when we're waiting, so interrupts should >> be >> enabled when it's important. This is the case when we wait for time >> to >> pass, a key press or a network packet. In all those cases we >> shouldn't >> be running for extensive amounts of time with interrupts disabled, so >> we shouldn't lose too much precision, keys or packets. >> > > Well, the point is we would need to run with interrupts disabled > during all > loader's code paths, so that interrups could be allowed only for the > duration > of the syscall; not sure how this would serve. Anyway, let me know > your findings. > >> I'll play with this and see if that statement is true... >> > > From the other end: I'll take a look at U-Boot exceptions handlers > macros for > the prologue/epilogue and try to fix this down there. It shouldn't be > difficult, but propagating the changes to their main line code will > take time... Perfect: 2 people, 2 viewpoints, 2 angles, 1 short-term workaround and 1 long-term solution. Can't have it any better than this ;-) -- Marcel Moolenaar xcllnt@mac.com